From f3ef3c1fb66c126c7f4b0a4cd199da71ea5833c0 Mon Sep 17 00:00:00 2001 From: Tim Etchells Date: Thu, 26 Nov 2020 17:53:49 -0500 Subject: [PATCH] Add note about private quay.io repos Signed-off-by: Tim Etchells --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a52c793..a65bb7c 100644 --- a/README.md +++ b/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.
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.
+ +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!