redhat-actions/Push To Registry

Push a container image to an image registry

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Jul 6, 2026
Maintenance Recency
Activelast commit Mar 30, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2

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

namedescriptionrequireddefault
imageName of the image/manifest to push (e.g. username/imagename or imagename)no
tags'The tag or tags of the image/manifest to push. For multiple tags, separate by whitespace. For example, "latest v1"' nolatest
registryHostname and optional namespace to push the image to (eg. quay.io/username or quay.io)no
usernameUsername to use as credential to authenticate to the registryno
passwordPassword to use as credential to authenticate to the registryno
tls-verifyVerify TLS certificates when contacting the registrynotrue
digestfileAfter copying the image, write the digest of the resulting image to the file. By default, the filename will be determined from the image and tag. The contents of this file are the digest output. no
extra-argsExtra args to be passed to podman push. Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you. no
namedescription
digestThe pushed image/manifest digest, as written to the "digestfile"
registry-pathThe first element of registry-paths.
registry-pathsA JSON array of registry paths to which the tag(s) were pushed