Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

build use https://mirror.gcr.io

Chris Lu49f6edc0010f
diff --git a/.github/workflows/container_release2.yml b/.github/workflows/container_release2.yml
index 902d8592f0..e5b5efaf0a 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 3085e9b80f..8407379172 100644
--- a/.github/workflows/container_release3.yml
+++ b/.github/workflows/container_release3.yml
@@ -35,9 +35,18 @@ jobs:
org.opencontainers.image.title=seaweedfs
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'