Skip to content

set Docker Hub OIDC token lifetime default to 1 hour - #1070

Draft
crazy-max wants to merge 2 commits into
docker:masterfrom
crazy-max:increase-oidc-default-expiry
Draft

set Docker Hub OIDC token lifetime default to 1 hour#1070
crazy-max wants to merge 2 commits into
docker:masterfrom
crazy-max:increase-oidc-default-expiry

Conversation

@crazy-max

Copy link
Copy Markdown
Member

closes #1069

This changes Docker Hub OIDC logins to request a one hour token by default. The previous five minute default could expire when workflows run tests, setup, downloads, or other non-Docker steps between login and the later build, push, or pull operation, which made PAT-to-OIDC migrations fail with non-obvious authentication errors.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant