Skip to content

Commit

Permalink
Use mirror.gcr.io as pull-through cache
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Jul 16, 2024
1 parent 3c9a76a commit 8b8a8d7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
build-amd64:
runs-on: runs-on,runner=8cpu-linux-x64,run-id=${{ github.run_id }},image=ubuntu22-full-x64,hdd=64
steps:
- name: Set up buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
- name: Checkout code
uses: actions/checkout@v4
- name: Install Dapper
Expand All @@ -37,6 +43,12 @@ jobs:
build-arm64:
runs-on: runs-on,runner=8cpu-linux-arm64,run-id=${{ github.run_id }},image=ubuntu22-full-arm64,hdd=64
steps:
- name: Set up buildx
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
- name: Checkout code
uses: actions/checkout@v4
- name: Install Dapper
Expand All @@ -46,4 +58,4 @@ jobs:
- name: Build
run: |
dapper -f Dockerfile --target dapper make dapper-ci

0 comments on commit 8b8a8d7

Please sign in to comment.