marifante/build-docker-image-action
Action used to build and publish docker images to github registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dockerfile-path | The path of the dockerfile (from the root of the repository) | — | Dockerfile |
| target | The target to build from the docker file (useful for multi-stage dockerfiles) | no | "" |
| name-suffix | A suffix to add to the image name (useful for monorepos where you want to build multiple images from the same repo) | no | "" |
| context | The build context to use (from the root of the repository) | no | . |
| cache | Enable registry-based layer caching. Cached layers are stored as a separate tag in GHCR and reused across runs. | no | true |
| submodules | Initialize recursively the submodules of the repository during cloning. | — | false |
| token | Token to clone the repository. | no | ${{ github.token }} |
| image-tag | Optional explicit image tag. Useful when the desired tag should not come from GITHUB_SHA. | no | "" |
Outputs
| name | description |
|---|---|
| image-name | The name of the built image, including registry and tag. |
| image-tags | The list of image tags that were built and pushed. |