# push-to-registry
[](https://github.com/redhat-actions/push-to-registry/actions?query=workflow%3A%22CI+checks%22)
[](https://github.com/redhat-actions/push-to-registry/actions?query=workflow%3A%22Test+Build+and+Push%22)
[](https://github.com/redhat-actions/push-to-registry/actions?query=workflow%3A%22Multiple+container+CLI+build+tests%22)
[](https://github.com/redhat-actions/push-to-registry/tags)
[](./LICENSE)
[](./dist)
Push-to-registry is a GitHub Action for pushing a container image to an image registry, such as Dockerhub, Quay.io, the GitHub Container Registry, or an OpenShift integrated registry.
This action only runs on Linux, as it uses [podman](https://github.com/containers/Podman) to perform the push. [GitHub's Ubuntu action runners](https://github.com/actions/virtual-environments#available-environments) come with Podman preinstalled. If you are not using those runners, you must first [install Podman](https://podman.io/getting-started/installation).
## Action Inputs
Refer to the [`podman push`](http://docs.podman.io/en/latest/markdown/podman-manifest-push.1.html) documentation for more information.
Input | Required | Description |
---|---|---|
image | Yes | Name of the image you want to push. |
tags | No |
The tag or tags of the image to push. For multiple tags, seperate by a space. For example, latest ${{ github.sha }} Defaults to latest .
|
registry | Yes | URL of the registry to push the image to. Eg. quay.io/<username> |
username | Yes | Username with which to authenticate to the registry. |
password | Yes | Password, encrypted password, or access token with which to authenticate to the registry. |
tls-verify | No | Verify TLS certificates when contacting the registry. Set to "false" to skip certificate verification. |
digestfile | No | After 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. |
extra-args | No | Extra args to be passed to podman push. Separate arguments by newline. Do not use quotes. |