actions-marketplace-validations/Buildkit state

Load and save buildkit state.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 31, 2025
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/isac322_builtkit-state@7140c0629f8dcac20aa6e81d8b87838a26a45c7d # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

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