Add note about private quay.io repos

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2020-11-26 17:53:49 -05:00
parent 7c3d1059c8
commit f3ef3c1fb6

View file

@ -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!