|
|
@ -861,12 +861,12 @@ func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[s
|
|
|
|
so, release, err := toSolveOpt(ctx, node, multiDriver, opt, np.bopts, configDir, w, func(name string) (io.WriteCloser, func(), error) {
|
|
|
|
so, release, err := toSolveOpt(ctx, node, multiDriver, opt, np.bopts, configDir, w, func(name string) (io.WriteCloser, func(), error) {
|
|
|
|
return docker.LoadImage(ctx, name, w)
|
|
|
|
return docker.LoadImage(ctx, name, w)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
for k, v := range gitattrs {
|
|
|
|
|
|
|
|
so.FrontendAttrs[k] = v
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for k, v := range gitattrs {
|
|
|
|
|
|
|
|
so.FrontendAttrs[k] = v
|
|
|
|
|
|
|
|
}
|
|
|
|
defers = append(defers, release)
|
|
|
|
defers = append(defers, release)
|
|
|
|
m[k][i].so = so
|
|
|
|
m[k][i].so = so
|
|
|
|
}
|
|
|
|
}
|
|
|
|