Update documentation again
Some checks failed
CI checks / Run ESLint (push) Has been cancelled
CI checks / Check Distribution (push) Has been cancelled
CI checks / Check Input and Output enums (push) Has been cancelled
Link checker / Check links in markdown (push) Has been cancelled
Build from containerfile / Build image using Buildah (push) Has been cancelled
Multiarch build / Build multi-architecture image using Containerfile (push) Has been cancelled
Multiarch build / Build multi-platform image using Containerfile (push) Has been cancelled
Multiarch build / Build multi-architecture image from scratch (push) Has been cancelled
Build with docker/metadata-action@v2 / Build image with Containerfile (push) Has been cancelled
Build with docker/metadata-action@v2 / Build image without Containerfile (push) Has been cancelled
Build / Build image using Buildah (push) Has been cancelled
Some checks failed
CI checks / Run ESLint (push) Has been cancelled
CI checks / Check Distribution (push) Has been cancelled
CI checks / Check Input and Output enums (push) Has been cancelled
Link checker / Check links in markdown (push) Has been cancelled
Build from containerfile / Build image using Buildah (push) Has been cancelled
Multiarch build / Build multi-architecture image using Containerfile (push) Has been cancelled
Multiarch build / Build multi-platform image using Containerfile (push) Has been cancelled
Multiarch build / Build multi-architecture image from scratch (push) Has been cancelled
Build with docker/metadata-action@v2 / Build image with Containerfile (push) Has been cancelled
Build with docker/metadata-action@v2 / Build image without Containerfile (push) Has been cancelled
Build / Build image using Buildah (push) Has been cancelled
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
c06a2c4759
commit
c7ca484deb
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue