From c7ca484debaa4b8694dcfa9ee2cf5da8b0df0453 Mon Sep 17 00:00:00 2001 From: divyansh42 Date: Wed, 27 Oct 2021 22:02:53 +0530 Subject: [PATCH] Update documentation again Signed-off-by: divyansh42 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5df17d3..cf32664 100644 --- a/README.md +++ b/README.md @@ -67,19 +67,19 @@ At least one tag must always be provided in `tags`. Multiple tags are separated For example: ```yaml -image: quay.io/my-image +image: quay.io/my-namespace/my-image tags: v1 v1.0.0 ``` -will create the image and apply two tags: `quay.io/my-image:v1` and `quay.io/my-image:v1.0.0`. +will create the image and apply two 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 image name in each tag. The image will be built, and then tagged with each `tag`. In this case, the `image` input is ignored. For example: ```yaml # 'image' input is 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 also apply two tags: `quay.io/my-image:v1` and `quay.io/my-image:v1.0.0`. +will also apply two 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 `${name}:${tag}` form, then the `image` input must be set.