Added input parameters which retry docker.login() in case of error

Signed-off-by: eegiazarov <52110484+eegiazarov@users.noreply.github.com>
This commit is contained in:
eegiazarov 2022-09-08 22:49:03 +03:00
parent dd4fa0671b
commit c43cbe2c6a
6 changed files with 75 additions and 11 deletions

View file

@ -24,6 +24,13 @@ inputs:
description: 'Log out from the Docker registry at the end of a job'
default: 'true'
required: false
retryErrorPattern:
description: "Regexp to match error message"
required: false
retries:
description: "Maximum retries in case of errors (limit of 50 hardcoded)"
default: "3"
required: false
runs:
using: 'node12'