mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-15 07:21:23 +00:00
Update documentation again
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…
Reference in a new issue