actions-marketplace-validations/Docker Build & Push Action

Builds a Docker image and pushes to a private registry with support for multiple tags

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/mr-smithers-excellent_docker-build-push@389e6f5b1b8430904211f55ebdd6ab5567301a0a # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
imageName of the Docker imageyes
tagsTags override for Docker imageno
appendModeAppend tags to auto-generated tags instead of replacing themnofalse
registryTarget Docker registryyes
dockerfileLocation of Dockerfile, if not Dockerfile in root directorynoDockerfile
directoryDirectory to run `docker build` from, if not project rootno
buildArgsDocker build arguments passed via --build-argno
labelsDocker build labels passed via --labelno
targetDocker build target passed via --targetno
platformDocker build platform passed via --platformno
sshDocker build ssh options passed via --sshno
usernameDocker registry usernameno
passwordDocker registry passwordno
gitHubOrgGitHub organization to push image to (if not current)no
addLatestAdds latest tag to auto-generated GitOps tagnofalse
addTimestampSuffixes a build timestamp to the branch-based Docker tagnofalse
enableBuildKitEnables Docker BuildKit supportnofalse
multiPlatformBuilds image with buildx to support multiple platformsnofalse
overrideDriverDisables setting up docker-container drivernofalse
pushImageFlag for disabling the login & push steps, set to true by defaultnotrue
namedescription
imageFullNameFull name of the Docker image with registry prefix and tag suffix
imageNameName of the Docker image with owner prefix
tagsTags for the Docker image