Skip to content

Commit

Permalink
fix: use gcr mirror in docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
knutgoetz committed Jul 24, 2024
1 parent 8e4cc6e commit b7fd4f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ runs:
- name: Setup docker buildx container
if: env.setup_buildx == 'true'
uses: docker/[email protected]
with:
buildkitd-flags: --debug
config-inline: |
debug = true
[registry."docker.io"]
mirrors = ["https://mirror.gcr.io"]
# Support `docker buildx build --cache-[from}to] type=gha` directly,
# and not just via docker/build-push-action.
- name: Setup docker buildx environment
Expand Down

0 comments on commit b7fd4f4

Please sign in to comment.