-
Notifications
You must be signed in to change notification settings - Fork 33
/
action.yml
51 lines (50 loc) · 1.71 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 'Push To Registry'
description: 'Push a container image to an image registry'
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
image:
description: 'Name of the image/manifest to push (e.g. username/imagename or imagename)'
required: false
tags:
description: |
'The tag or tags of the image/manifest to push.
For multiple tags, separate by whitespace. For example, "latest v1"'
required: false
default: 'latest'
registry:
description: 'Hostname and optional namespace to push the image to (eg. quay.io/username or quay.io)'
required: false
username:
description: 'Username to use as credential to authenticate to the registry'
required: false
password:
description: 'Password to use as credential to authenticate to the registry'
required: false
tls-verify:
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
extra-args:
description: |
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
outputs:
digest:
description: 'The pushed image/manifest digest, as written to the "digestfile"'
registry-path:
description: 'The first element of registry-paths.'
registry-paths:
description: 'A JSON array of registry paths to which the tag(s) were pushed'
runs:
using: 'node20'
main: 'dist/index.js'