davidslusser/Build and Push Docker Image

Builds a Docker image and pushes it to a registry. Tags 'latest' only for semver releases.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Aug 17, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: davidslusser/actions_docker_github@51a2f510e103790dc0fcc88bd56893a6825ab87c # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
registryDocker registry (e.g., ghcr.io)yesghcr.io
image-nameDocker image nameyes
tagDocker image tagyes
contextDocker build contextno.
dockerfileDockerfile pathnoDockerfile
github-tokenGitHub token for authenticationyes
namedescription
latest_tagFull image:latest tag if applicable, empty otherwise