We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 533e07a commit c693d45Copy full SHA for c693d45
1 file changed
builder/builder-next/adapters/containerimage/pull.go
@@ -75,12 +75,12 @@ func (is *imageSource) ID() string {
75
76
func (is *imageSource) getResolver(ctx context.Context, rfn resolver.ResolveOptionsFunc, ref string) remotes.Resolver {
77
opt := docker.ResolverOptions{
78
- Client: tracing.DefaultClient,
79
- Credentials: is.getCredentialsFromSession(ctx),
+ Client: tracing.DefaultClient,
80
}
81
if rfn != nil {
82
opt = rfn(ref)
83
+ opt.Credentials = is.getCredentialsFromSession(ctx)
84
r := docker.NewResolver(opt)
85
return r
86
0 commit comments