mirror of
https://github.com/docker/login-action.git
synced 2026-11-16 22:25:01 +08:00
raise Docker Hub OIDC max expiry to 6 hours
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
dbcb813823
commit
99ffd0f38a
3 changed files with 9 additions and 9 deletions
|
|
@ -15,7 +15,7 @@ interface OIDCTokenResponse {
|
|||
const registries = new Set(['', 'docker.io', 'registry-1.docker.io', 'registry-1-stage.docker.io', 'dhi.io']);
|
||||
const defaultExpiresIn = 300;
|
||||
const minExpiresIn = 300;
|
||||
const maxExpiresIn = 3600;
|
||||
const maxExpiresIn = 21600;
|
||||
const maxRetries = 5;
|
||||
|
||||
export const isDockerHubOIDC = (registry: string, password: string): boolean => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue