diff options
| -rw-r--r-- | .github/workflows/container_release2.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/container_release3.yml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/container_release2.yml b/.github/workflows/container_release2.yml index 902d8592f..e5b5efaf0 100644 --- a/.github/workflows/container_release2.yml +++ b/.github/workflows/container_release2.yml @@ -53,8 +53,16 @@ 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-config: /tmp/buildkitd.toml - name: Login to Docker Hub if: github.event_name != 'pull_request' uses: docker/login-action@v3 diff --git a/.github/workflows/container_release3.yml b/.github/workflows/container_release3.yml index 3085e9b80..840737917 100644 --- a/.github/workflows/container_release3.yml +++ b/.github/workflows/container_release3.yml @@ -36,8 +36,17 @@ jobs: org.opencontainers.image.description=SeaweedFS is a distributed storage system for blobs, objects, files, and data lake, to store and serve billions of files fast! org.opencontainers.image.vendor=Chris Lu - + 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-config: /tmp/buildkitd.toml - name: Login to Docker Hub if: github.event_name != 'pull_request' |
