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.

ci: cache docker build layers for container_dev (#11980)

Chris Lu728fc69976fe
diff --git a/.github/workflows/container_dev.yml b/.github/workflows/container_dev.yml
index f5d880a8ec..dd8c5843fc 100644
--- a/.github/workflows/container_dev.yml
+++ b/.github/workflows/container_dev.yml
@@ -197,6 +197,12 @@ jobs:
platforms: linux/amd64, linux/arm64
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
+ # Key the checkout layer on the pushed sha so cached layers can't
+ # serve stale code; the Dockerfile fetch fallback picks it up.
+ build-args: |
+ BRANCH=${{ github.sha }}
- name: Sign
if: github.event_name != 'pull_request'