mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01:00
Add note about private quay.io repos
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
7c3d1059c8
commit
f3ef3c1fb6
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -59,7 +59,7 @@ This action only runs on Linux, as it uses [podman](https://github.com/container
|
|||
|
||||
## Action Outputs
|
||||
|
||||
This action produces these outputs which can be used for further processing in different Github action:
|
||||
This action produces one output which can be referenced in other workflow `steps`.
|
||||
|
||||
`registry-path`: The registry path to which the image was pushed.<br>
|
||||
For example, `quay.io/username/spring-image:v1`.
|
||||
|
@ -101,9 +101,15 @@ jobs:
|
|||
username: ${{ secrets.QUAY_USERNAME }}
|
||||
password: ${{ secrets.QUAY_TOKEN }}
|
||||
|
||||
# The output is stored in ${{ steps.push-to-quay.outputs.registry-path }}
|
||||
- name: Use the image
|
||||
run: echo "New image has been pushed to ${{ steps.push-to-quay.outputs.registry-path }}"
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
Note that quay.io repositories are private by default.<br>
|
||||
|
||||
This means that if you push an image for the first time, you will have to authenticate before pulling it, or go to the repository's settings and change its visibility.
|
||||
|
||||
## Contributing
|
||||
|
||||
This is an open source project open to anyone. This project welcomes contributions and suggestions!
|
||||
|
|
Loading…
Add table
Reference in a new issue