reproducible-containers/Inject/Extract Cache
Injects the cached data into the docker build(x|kit) process
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cache-map | The 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. | — | — |
| dockerfile | The Dockerfile to use for auto-discovery of the cache-map. Default: `Dockerfile` | — | Dockerfile |
| cache-dir | The 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-source | Where the cache is stored in the calling workspace. Default: `cache` | — | — |
| cache-target | Where the cache is stored in the docker container. Default: `/root/.cache/go-build` | — | — |
| scratch-dir | Where the action is stores some temporary files for its processing. Default: `scratch` | — | scratch |
| skip-extraction | Skip the extraction of the cache from the docker container | — | false |
| save-always | Run the post step to save the cache even if another step before fails | — | false |
| utility-image | The container image to use for injecting and extracting the cache | — | ghcr.io/containerd/busybox:latest |
| builder | The name of the buildx builder to use. If not specified, the currently active builder is used. | — | "" |
Outputs
no outputs