mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-02 19:29:54 +02:00
Add digestfile argument, input, and output
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
f89a81fade
commit
2d063fde99
5 changed files with 45 additions and 11 deletions
13
README.md
13
README.md
|
@ -11,6 +11,8 @@ This action only runs on Linux, as it uses [podman](https://github.com/container
|
|||
|
||||
## Action Inputs
|
||||
|
||||
Refer to the [`podman push`](http://docs.podman.io/en/latest/markdown/podman-manifest-push.1.html) documentation for more information.
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -61,15 +63,22 @@ This action only runs on Linux, as it uses [podman](https://github.com/container
|
|||
<td>No</td>
|
||||
<td>Verify TLS certificates when contacting the registry. Set to "false" to skip certificate verification.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>digestfile</td>
|
||||
<td>No</td>
|
||||
<td>After copying the image, write the digest of the resulting image to the file. By default, the filename will be determined from the image and tag.
|
||||
The contents of this file are the <code>digest</code> output.
|
||||
</table>
|
||||
|
||||
## Action Outputs
|
||||
|
||||
This action produces one output which can be referenced in other workflow `steps`.
|
||||
|
||||
`registry-path`: The registry path to which the image was pushed.<br>
|
||||
For example, `quay.io/username/spring-image:v1`.
|
||||
|
||||
`digest`: The pushed image digest, as written to the `digestfile`.<br>
|
||||
For example, `sha256:66ce924069ec4181725d15aa27f34afbaf082f434f448dc07a42daa3305cdab3`.
|
||||
|
||||
## Examples
|
||||
|
||||
The example below shows how the `push-to-registry` action can be used to push an image created by the [buildah-build](https://github.com/redhat-actions/buildah-build) action.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue