Skip to content

Commit 2ec4289

Browse files
committed
fix: ensure isBake is passed correctly in bake command
1 parent af77c81 commit 2ec4289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/buildx/commands/bake.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func RunBake(dockerCli command.Cli, in BakeOptions, validator BakeValidator, pri
183183
reportingPrinter := progresshelper.NewReporter(ctx2, printer, in.buildID, in.token)
184184
defer reportingPrinter.Close()
185185
if in.DepotOptions.loadUsingRegistry && in.DepotOptions.pullInfo != nil {
186-
err = load.DepotLoadFromRegistry(ctx, dockerCli.Client(), in.DepotOptions.pullInfo.Reference, false, pullOpts, reportingPrinter)
186+
err = load.DepotLoadFromRegistry(ctx, dockerCli.Client(), in.DepotOptions.pullInfo.Reference, true, pullOpts, reportingPrinter)
187187
} else {
188188
err = load.DepotFastLoad(ctx2, dockerCli.Client(), depotResponses, pullOpts, reportingPrinter)
189189
}

0 commit comments

Comments
 (0)