spritely/Build and publish container
Sets up standard tags, then builds and publishes a container image to the container registry.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| registryHost | The host of the container registry to push to. | yes | — |
| registryUsername | The username to use to authenticate with the container registry. | yes | — |
| registryPassword | The token to use to authenticate with the container registry. | yes | — |
| imageNames | The names of the images to tag and publish. | yes | — |
| version | The semantic version of the image to tag and publish. | yes | — |
| containerSecrets | The secrets to use when building the container. | no | "" |
| context | The context to use when building. | no | ${{ github.workspace }} |
| dockerfile | The dockerfile to build. | no | ${{ github.workspace }}/Dockerfile |
| messageTemplate | Jinja2 markdown template used to generate the build summary. Available variables: version, owner, repo, registry, images, tags, and labels | no | # Created Containers {% for image in images %} - Image {{ image }} pushed to {{ registry }}. {% endfor %} ## Tags {% for tag in tags %} - {{ tag }} {% endfor %} ## Labels {% for key, value in labels.items() %} - **{{ key }}**: {{ value }} {% endfor %} |
| writeSummary | Whether to write a summary to GitHub. Defaults to true. | no | true |
Outputs
| name | description |
|---|---|
| summary | Markdown summary of the build results |