mirror of
https://github.com/docker/buildx.git
synced 2024-11-22 15:37:16 +08:00
build: avoid default load with --print
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
699fa43f7f
commit
fbb0f9b424
@ -162,7 +162,7 @@ func toSolveOpt(ctx context.Context, node builder.Node, multiDriver bool, opt Op
|
|||||||
case 1:
|
case 1:
|
||||||
// valid
|
// valid
|
||||||
case 0:
|
case 0:
|
||||||
if !noDefaultLoad() {
|
if !noDefaultLoad() && opt.PrintFunc == nil {
|
||||||
if nodeDriver.IsMobyDriver() {
|
if nodeDriver.IsMobyDriver() {
|
||||||
// backwards compat for docker driver only:
|
// backwards compat for docker driver only:
|
||||||
// this ensures the build results in a docker image.
|
// this ensures the build results in a docker image.
|
||||||
|
Loading…
Reference in New Issue
Block a user