diff options
| author | Chris Lu <chris.lu@gmail.com> | 2025-11-27 16:07:54 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2025-11-27 16:07:54 -0800 |
| commit | 49f6edc0010f912940b2f848c367668b750bd28c (patch) | |
| tree | f121193046526c312f25906d4e1b6cc139e2e3e5 /.github | |
| parent | 8102fb5642b1d99e7b932a4882941afee6c1db25 (diff) | |
| download | seaweedfs-49f6edc0010f912940b2f848c367668b750bd28c.tar.xz seaweedfs-49f6edc0010f912940b2f848c367668b750bd28c.zip | |
build use https://mirror.gcr.io
Diffstat (limited to '.github')
| -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' |
