sebocode/container-build-and-release-action
Build container if underlying Dockerfile changed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dockerfile-location | The path to the Dockerfile that should be built and released. | yes | — |
| registry | The registry the image should be published to. | yes | — |
| artifact-name | The artifact name of the generated and pushed image. | yes | — |
| namespace | The namespace of the generated and published image. | no | ${{ github.repository }} |
| username | The username to log into the container registry. | no | ${{ github.actor }} |
| password | The password to log into the container registry. | yes | — |
| min-versions-to-keep | Minimum amount of built images to keep in the registry. Delete the rest. | no | -1 |
| create-attest | Define whether the attestation file should be created and pushed or not (ghcr.io does not support attestation files for private repositories). | no | true |
| github-token | The GitHub token used to make authenticated API requests. | no | ${{ github.token }} |
| force-build | If enabled, a new image is built regardless of whether the corresponding Dockerfile has changed. | no | false |
Outputs
no outputs