2020-11-13 15:53:21 +01:00
|
|
|
name: 'Push To Registry'
|
2020-11-28 00:23:19 +05:30
|
|
|
description: 'Push a container image to an image registry'
|
2020-11-13 15:53:21 +01:00
|
|
|
author: 'Red Hat'
|
2020-11-07 13:04:04 +01:00
|
|
|
branding:
|
|
|
|
icon: circle
|
|
|
|
color: red
|
|
|
|
inputs:
|
2020-11-17 14:19:05 -05:00
|
|
|
image:
|
2021-11-17 17:30:09 +05:30
|
|
|
description: 'Name of the image/manifest to push (e.g. username/imagename or imagename)'
|
2021-10-12 10:22:18 -07:00
|
|
|
required: false
|
2021-02-03 08:05:48 +05:30
|
|
|
tags:
|
2021-11-17 17:30:09 +05:30
|
|
|
description: |
|
|
|
|
'The tag or tags of the image/manifest to push.
|
|
|
|
For multiple tags, seperate by whitespace. For example, "latest v1"'
|
2020-11-13 15:12:47 +01:00
|
|
|
required: false
|
|
|
|
default: 'latest'
|
|
|
|
registry:
|
2021-04-22 21:57:32 +05:30
|
|
|
description: 'Hostname and optional namespace to push the image to (eg. quay.io/username or quay.io)'
|
2021-10-12 10:22:18 -07:00
|
|
|
required: false
|
2020-11-07 13:04:04 +01:00
|
|
|
username:
|
|
|
|
description: 'Username to use as credential to authenticate to the registry'
|
2021-04-12 18:05:25 +05:30
|
|
|
required: false
|
2020-11-07 13:04:04 +01:00
|
|
|
password:
|
|
|
|
description: 'Password to use as credential to authenticate to the registry'
|
2021-04-12 18:05:25 +05:30
|
|
|
required: false
|
2020-11-27 11:44:15 +05:30
|
|
|
tls-verify:
|
|
|
|
description: 'Verify TLS certificates when contacting the registry'
|
|
|
|
required: false
|
|
|
|
default: 'true'
|
2021-02-03 08:05:48 +05:30
|
|
|
digestfile:
|
2021-02-21 16:41:27 -05:00
|
|
|
description: |
|
2021-02-03 08:05:48 +05:30
|
|
|
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
|
2021-02-08 20:07:42 +05:30
|
|
|
extra-args:
|
2021-02-21 16:41:27 -05:00
|
|
|
description: |
|
2021-02-08 20:07:42 +05:30
|
|
|
Extra args to be passed to podman push.
|
|
|
|
Separate arguments by newline. Do not use quotes - @actions/exec will do the quoting for you.
|
|
|
|
required: false
|
2021-02-21 16:41:27 -05:00
|
|
|
|
2020-11-23 18:11:35 -05:00
|
|
|
outputs:
|
2021-02-03 08:05:48 +05:30
|
|
|
digest:
|
2021-11-17 17:30:09 +05:30
|
|
|
description: 'The pushed image/manifest digest, as written to the "digestfile"'
|
2021-02-21 16:41:27 -05:00
|
|
|
registry-path:
|
|
|
|
description: 'The first element of registry-paths.'
|
2021-02-03 08:05:48 +05:30
|
|
|
registry-paths:
|
|
|
|
description: 'A JSON array of registry paths to which the tag(s) were pushed'
|
2020-11-07 13:04:04 +01:00
|
|
|
runs:
|
2022-12-23 08:25:53 -07:00
|
|
|
using: 'node16'
|
2020-11-17 14:19:05 -05:00
|
|
|
main: 'dist/index.js'
|