Make input username and password optional

If user has authenticated to container image registry
before running this action, then it's not required
to provide username and password in this action

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-04-09 14:56:06 +05:30
parent 002092527f
commit 2c3fb7261b
7 changed files with 49 additions and 84 deletions

View file

@ -17,10 +17,10 @@ inputs:
required: true
username:
description: 'Username to use as credential to authenticate to the registry'
required: true
required: false
password:
description: 'Password to use as credential to authenticate to the registry'
required: true
required: false
tls-verify:
description: 'Verify TLS certificates when contacting the registry'
required: false