8000 all bake targets should share the same AuthProvider · Issue #2116 · docker/buildx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
all bake targets should share the same AuthProvider #2116
Closed
@nicks

Description

@nicks

Description

Currently, when you build N targets, each target creates its own AuthProvider. So if each target needs to pull from index.docker.io, they need to make N round trips to the credential helper.

bo.Session = append(bo.Session, authprovider.NewDockerAuthProvider(dockerConfig, nil))

It would be better if all N targets used the same AuthProvider, so they only need to fetch credentials once.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0