firehed/Multi-stage Docker Build
Build Docker images to maximize layer caching and minimize build times
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| build-args | A comma-separated list of `--build-arg` flags | no | "" |
| context | Build context. Default to `.` | no | . |
| dockerfile | Path to Dockerfile | no | "" |
| parallel | Build in parallel | no | false |
| repository | Repository that all of the images and tags will pull from and push to | yes | — |
| stages | A comma-separated list of build stages | yes | — |
| server-stage | Docker target for server | yes | — |
| tag-latest-on-default | Automatically create a "latest" tag when the action is run on the default branch (defaults to `true`) | no | true |
| testenv-stage | Docker target for testing | no | — |
| quiet | Send `--quiet` flag to docker commands. Always false when running in debug mode. | no | true |
Outputs
| name | description |
|---|---|
| commit | The full commit hash used for tags |
| server-tag | Commit-specific tag for server |
| testenv-tag | Commit-specific tag for test env |