mirror of
https://github.com/docker/login-action.git
synced 2026-11-09 00:19:20 +00: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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user