mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-07 04:59:54 +02:00
Document and add GHCR example (#49)
* Document and add GHCR example Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
227b0eed37
commit
1d3fd04cee
3 changed files with 76 additions and 8 deletions
|
@ -1,10 +1,12 @@
|
|||
# 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%22Build+and+Push%22)
|
||||
[](https://github.com/redhat-actions/push-to-registry/actions?query=workflow%3A%22Link+checker%22)
|
||||
<br><br>
|
||||
[](https://github.com/redhat-actions/push-to-registry/actions/workflows/quay-push.yaml)
|
||||
[](https://github.com/redhat-actions/push-to-registry/actions/workflows/ghcr-push.yaml)
|
||||
[](https://github.com/redhat-actions/push-to-registry/actions?query=workflow%3A%22Login+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/actions?query=workflow%3A%22Link+checker%22)
|
||||
<br><br>
|
||||
[](https://github.com/redhat-actions/push-to-registry/tags)
|
||||
[](./LICENSE)
|
||||
|
@ -94,6 +96,8 @@ jobs:
|
|||
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
|
||||
```
|
||||
|
||||
Refer to [GHCR push example](./.github/workflows/ghcr-push.yaml) for complete example of push to [GitHub Container Registry (GHCR)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
|
||||
|
||||
## Note about images built with Docker
|
||||
|
||||
This action uses `Podman` to push, but can also push images built with `Docker`. However, Docker and Podman store their images in different locations, and Podman can only push images in its own storage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue