Skip to content

Commit

Permalink
Merge pull request #2445 from crazy-max/fix-ci
Browse files Browse the repository at this point in the history
ci: fix git protocol
  • Loading branch information
crazy-max authored Nov 2, 2021
2 parents 0279989 + b434e73 commit fae6ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion hack/util
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit fae6ef5

Please sign in to comment.