mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-18 21:34:44 +00:00
Update documentation again
Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
parent
857ec0b44c
commit
42e9b87b01
2 changed files with 5 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue