mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01: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
|
@ -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.
|
||||
|
|
|
@ -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
Reference in a new issue