mirror of
https://github.com/docker/login-action.git
synced 2026-01-20 15:08:54 +08:00
add args for retries
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
This commit is contained in:
parent
327cd5a69d
commit
2bc89718bc
5 changed files with 25 additions and 5 deletions
11
action.yml
11
action.yml
|
|
@ -24,6 +24,17 @@ inputs:
|
|||
description: 'Log out from the Docker registry at the end of a job'
|
||||
default: 'true'
|
||||
required: false
|
||||
http_errors_to_retry:
|
||||
description: 'Comma separated list of HTTP error codes we want to retry'
|
||||
default: '408,500,502,504'
|
||||
max_attempts:
|
||||
description: 'Overall maximum number of attempts we will make trying to login'
|
||||
default: '1'
|
||||
required: false
|
||||
retry_timeout:
|
||||
description: 'Timeout between retries, in seconds'
|
||||
default: '15'
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'node20'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue