isac322/Buildkit state

Load and save buildkit state.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
buildx-nameName of buildx. Fill as `name` output of `docker/setup-buildx-action` actions.yes
cache-keyUnique id of cache. When loading, it is used for retrieval, and when saving, it is allocated to the cache.yes${{ runner.os }}-buildkit_state-${{ github.sha }}
cache-restore-keysKeys to be used if the search with `cache-key` fails on load.yes${{ runner.os }}-buildkit_state-
target-typesChoose which type of BuildKit state to save. Since `exec.cachemount` corresponds to `mount=type=cache`, you can use the default value in most cases. Options: `regular`, `source.local`, `exec.cachemount`, `frontend`, `internal` (https://pkg.go.dev/github.com/moby/buildkit/client#UsageRecordType) yesexec.cachemount frontend
rewrite-cacheWhether to overwrite when the same cache key already exists.false
save-on-failureWhether to save cache even if job fails.false
resume-builderResume buildx builder after successfully load cache and print disk usage.true
compression-levelZstd compression level (from 1 to 22)3
window-sizeZstd window size (from 10 to 31)27
namedescription
restored-cache-keyCache key restored from