spritely/Build and publish container

Sets up standard tags, then builds and publishes a container image to the container registry.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
registryHostThe host of the container registry to push to.yes
registryUsernameThe username to use to authenticate with the container registry.yes
registryPasswordThe token to use to authenticate with the container registry.yes
imageNamesThe names of the images to tag and publish.yes
versionThe semantic version of the image to tag and publish.yes
containerSecretsThe secrets to use when building the container.no""
contextThe context to use when building.no${{ github.workspace }}
dockerfileThe dockerfile to build.no${{ github.workspace }}/Dockerfile
messageTemplateJinja2 markdown template used to generate the build summary. Available variables: version, owner, repo, registry, images, tags, and labelsno# 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 %}
writeSummaryWhether to write a summary to GitHub. Defaults to true.notrue
namedescription
summaryMarkdown summary of the build results