|
|
|
@ -58,10 +58,17 @@ jobs: |
|
|
|
- name: Set up QEMU |
|
|
|
if: matrix.qemu |
|
|
|
uses: docker/setup-qemu-action@v3 |
|
|
|
- name: Create BuildKit config |
|
|
|
run: | |
|
|
|
cat > /tmp/buildkitd.toml <<EOF |
|
|
|
[registry."docker.io"] |
|
|
|
mirrors = ["https://mirror.gcr.io"] |
|
|
|
EOF |
|
|
|
- name: Set up Docker Buildx |
|
|
|
uses: docker/setup-buildx-action@v3 |
|
|
|
with: |
|
|
|
buildkitd-flags: "--debug" |
|
|
|
buildkitd-config: /tmp/buildkitd.toml |
|
|
|
- name: Login to Docker Hub |
|
|
|
if: github.event_name != 'pull_request' |
|
|
|
uses: docker/login-action@v3 |
|
|
|
|