mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-24 03:19:55 +02:00
Add feature to push multiple tags of the image (#18)
* Modify workflow to trigger on pull request * Update workflow to perform multi tag build and push Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
23eb62f550
commit
2e6cff9b90
8 changed files with 320 additions and 149 deletions
16
action.yml
16
action.yml
|
@ -8,8 +8,8 @@ inputs:
|
|||
image:
|
||||
description: 'Name of the image to push'
|
||||
required: true
|
||||
tag:
|
||||
description: 'Tag of the image to push'
|
||||
tags:
|
||||
description: 'The tag or tags of the image to push. For multiple tags, seperate by a space. For example, "latest v1"'
|
||||
required: false
|
||||
default: 'latest'
|
||||
registry:
|
||||
|
@ -25,10 +25,18 @@ inputs:
|
|||
description: 'Verify TLS certificates when contacting the registry'
|
||||
required: false
|
||||
default: 'true'
|
||||
digestfile:
|
||||
description: |
|
||||
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 digest output.
|
||||
required: false
|
||||
|
||||
outputs:
|
||||
registry-path:
|
||||
description: 'The registry path to which the image was pushed'
|
||||
digest:
|
||||
description: 'The pushed image digest, as written to the "digestfile"'
|
||||
registry-paths:
|
||||
description: 'A JSON array of registry paths to which the tag(s) were pushed'
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue