actions-marketplace-validations/Build and push Docker images (fork from Docker)

Builds and pushes Docker images and will log in to a Docker registry if required

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
usernameUsername used to log in to a Docker registry. If not set then no login will occurno
passwordPassword or personal access token used to log in to a Docker registry. If not set then no login will occurno
registryServer address of Docker registry. If not set then will default to Docker Hubno
repositoryDocker repository to tag the image withyes
tagsComma-delimited list of tags. These will be added to the registry/repository to form the image's tagsno
tag_with_refAutomatically tags the built image with the git reference as per the readmenofalse
tag_with_shaAutomatically tags the built image with the git short SHA as per the readmenofalse
pathPath to the build contextno.
dockerfilePath to the Dockerfile (Default is '{path}/Dockerfile')no
targetSets the target stage to buildno
always_pullAlways attempt to pull a newer version of the imagenofalse
build_argsComma-delimited list of build-time variablesno
cache_fromsComma-delimited list of images to consider as cache sourcesno
labelsComma-delimited list of labels to add to the built imageno
add_git_labelsAdds labels with git repository information to the built imagenofalse
pushWhether to push the imagenotrue
secretsYAML array of id,src secrets

no outputs