From 42e9b87b012159b3b5329cb665f89d8473eb6813 Mon Sep 17 00:00:00 2001 From: Tim Etchells Date: Fri, 15 Oct 2021 10:56:41 -0700 Subject: [PATCH] Update documentation again Signed-off-by: Tim Etchells --- CHANGELOG.md | 1 + README.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b14a78..4b47974 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## v2.4 - Allow fully qualified image names in `tags` input, for compatibility with [docker/metadata-action`](https://github.com/docker/metadata-action). [#50](https://github.com/redhat-actions/push-to-registry/pull/50) +- Fix issue where image pulled from Docker storage would overwrite image in Podman storage [733d8e9](https://github.com/redhat-actions/buildah-build/commit/733d8e9a389084e2f8c441f0a568e5d467497557) ## v2.3.2 - Add the word `local` to the image check messages. diff --git a/README.md b/README.md index 345a5fe..7fe8a31 100644 --- a/README.md +++ b/README.md @@ -46,20 +46,20 @@ So, for **push-to-registry** the options are as follows: For example: ```yaml -registry: quay.io +registry: quay.io/my-namespace image: my-image tags: v1 v1.0.0 ``` -will push the image tags: `quay.io/my-image:v1` and `quay.io/my-image:v1.0.0`. +will push the image tags: `quay.io/my-namespace/my-image:v1` and `quay.io/my-namespace/my-image:v1.0.0`. **Option 2**: Provide only the `tags` input, including the fully qualified image name in each tag. In this case, the `registry` and `image` inputs are ignored. For example: ```yaml # 'registry' and 'image' inputs are not set -tags: quay.io/my-image:v1 quay.io/my-image:v1.0.0 +tags: quay.io/my-namespace/my-image:v1 quay.io/my-namespace/my-image:v1.0.0 ``` -will push the image tags: `quay.io/my-image:v1` and `quay.io/my-image:v1.0.0`. +will push the image tags: `quay.io/my-namespace/my-image:v1` and `quay.io/my-namespace/my-image:v1.0.0`. If the `tags` input does not have image names in the `${registry}/${name}:${tag}` form, then the `registry` and `image` inputs must be set.