From b434e7314b9e8fcd260701efa3b0be850b24efa7 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 2 Nov 2021 18:02:27 +0100 Subject: [PATCH] ci: fix git protocol Signed-off-by: CrazyMax --- README.md | 2 +- hack/util | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e1bd4faadb9..c5980b2af468 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ buildctl build \ buildctl build \ --frontend gateway.v0 \ --opt source=docker/dockerfile \ - --opt context=git://github.com/moby/moby \ + --opt context=https://github.com/moby/moby.git \ --opt build-arg:APT_MIRROR=cdn-fastly.deb.debian.org ``` diff --git a/hack/util b/hack/util index b67174d61d7e..44fb5c9fa728 100755 --- a/hack/util +++ b/hack/util @@ -46,7 +46,7 @@ currentcontext="." cacheFromFlags="" cacheToFlags="" if [ "$GITHUB_ACTIONS" = "true" ]; then - currentref="git://github.com/$GITHUB_REPOSITORY#$GITHUB_REF" + currentref="https://github.com/$GITHUB_REPOSITORY.git#$GITHUB_REF" if [ -n "$CACHE_FROM" ]; then for cfrom in $CACHE_FROM; do cacheFromFlags="${cacheFromFlags}--cache-from=$cfrom "