latchkey-dev/Latchkey Docker Cache Build
Build Docker images with automatic ECR layer caching on Latchkey runners
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| context | Build context path | no | . |
| dockerfile | Path to Dockerfile (relative to context) | no | Dockerfile |
| tags | Image tags (newline or comma separated) | yes | — |
| push | Push image to registry after build | no | false |
| build-args | Build arguments (newline separated, KEY=VALUE) | no | "" |
| target | Build target stage | no | "" |
| platforms | Target platforms (e.g. linux/amd64,linux/arm64) | no | "" |
| cache-mode | BuildKit cache mode (min or max) | no | max |
| cache-tag | ECR image tag used for cache layers | no | cache |
| extra-cache-from | Additional --cache-from arguments (newline separated) | no | "" |
| extra-cache-to | Additional --cache-to arguments (newline separated) | no | "" |
Outputs
| name | description |
|---|---|
| cache-configured | Whether ECR cache flags were configured (true/false) |
| image-digest | Image digest from the build |