reproducible-containers/Inject/Extract Cache

Injects the cached data into the docker build(x|kit) process

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cache-mapThe map of actions source paths to container destination paths or mount arguments. If not provided, the Dockerfile will be used to determine the cache paths.
dockerfileThe Dockerfile to use for auto-discovery of the cache-map. Default: `Dockerfile`Dockerfile
cache-dirThe root directory where cache content is injected from/extracted to when using auto-discovery of the cache-map. If not provided, each cache mount `target` will be used as a source path.""
cache-sourceWhere the cache is stored in the calling workspace. Default: `cache`
cache-targetWhere the cache is stored in the docker container. Default: `/root/.cache/go-build`
scratch-dirWhere the action is stores some temporary files for its processing. Default: `scratch`scratch
skip-extractionSkip the extraction of the cache from the docker containerfalse
save-alwaysRun the post step to save the cache even if another step before failsfalse
utility-imageThe container image to use for injecting and extracting the cacheghcr.io/containerd/busybox:latest
builderThe name of the buildx builder to use. If not specified, the currently active builder is used.""

no outputs