mirror of
https://github.com/docker/login-action.git
synced 2026-11-16 14:04:59 +08:00
set Docker Hub OIDC token lifetime default to 1 hour
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
81c6f93d4b
commit
475278bf9c
3 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ interface OIDCTokenResponse {
|
|||
}
|
||||
|
||||
const registries = new Set(['', 'docker.io', 'registry-1.docker.io', 'registry-1-stage.docker.io', 'dhi.io']);
|
||||
const defaultExpiresIn = 300;
|
||||
const defaultExpiresIn = 3600;
|
||||
const minExpiresIn = 300;
|
||||
const maxExpiresIn = 21600;
|
||||
const maxRetries = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue