mirror of
https://github.com/docker/login-action.git
synced 2025-04-21 10:26:47 +00:00
add retries logic
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
This commit is contained in:
parent
2bc89718bc
commit
b909aa9ffe
2 changed files with 28 additions and 6 deletions
|
@ -8,7 +8,7 @@ export async function main(): Promise<void> {
|
|||
const input: context.Inputs = context.getInputs();
|
||||
stateHelper.setRegistry(input.registry);
|
||||
stateHelper.setLogout(input.logout);
|
||||
await docker.login(input.registry, input.username, input.password, input.ecr);
|
||||
await docker.login(input.registry, input.username, input.password, input.ecr, input.http_errors_to_retry, input.max_attempts, input.retry_timeout);
|
||||
}
|
||||
|
||||
async function post(): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue