mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-18 09:29:55 +02:00
Refactor inputs to support docker/metadata-action (#50)
This commit is contained in:
parent
1d3fd04cee
commit
bdfa69ab89
10 changed files with 253 additions and 221 deletions
|
@ -17,7 +17,7 @@ export enum Inputs {
|
|||
EXTRA_ARGS = "extra-args",
|
||||
/**
|
||||
* Name of the image to push (e.g. username/imagename or imagename)
|
||||
* Required: true
|
||||
* Required: false
|
||||
* Default: None.
|
||||
*/
|
||||
IMAGE = "image",
|
||||
|
@ -29,12 +29,12 @@ export enum Inputs {
|
|||
PASSWORD = "password",
|
||||
/**
|
||||
* Hostname and optional namespace to push the image to (eg. quay.io/username or quay.io)
|
||||
* Required: true
|
||||
* Required: false
|
||||
* Default: None.
|
||||
*/
|
||||
REGISTRY = "registry",
|
||||
/**
|
||||
* The tag or tags of the image to push. For multiple tags, seperate by a space. For example, "latest v1"
|
||||
* The tag or tags of the image to push. For multiple tags, seperate by whitespace. For example, "latest v1"
|
||||
* Required: false
|
||||
* Default: "latest"
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue