The Wayback Machine - https://web.archive.org/web/20251014183104/https://github.com/docker/buildx/pull/3233
Skip to content

Conversation

tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Jun 11, 2025

replaces and closes #3209

@crazy-max @dmcgowan

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This is not supported by the Authorizer from containerd and
needs to be added manually. Build authentication happens through
BuildKit session that already supports this.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the v0.25.0 milestone Jun 11, 2025
}

func (a *authConfig) authConfig(host string) (types.AuthConfig, error) {
const defaultExpiration = 2 * time.Minute
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it arbitrary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just needs to smaller than 5 min, because some credential helpers expire.

@tonistiigi tonistiigi merged commit 1b4bd20 into docker:master Jun 11, 2025
139 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants