mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
fix bake uses selected builder
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
f14c15fa57
commit
4db5fcd569
@ -244,6 +244,11 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
|
|||||||
args = append(args, "--allow", "security.insecure")
|
args = append(args, "--allow", "security.insecure")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if options.Builder != "" {
|
||||||
|
args = append(args, "--builder", options.Builder)
|
||||||
|
}
|
||||||
|
|
||||||
logrus.Debugf("Executing bake with args: %v", args)
|
logrus.Debugf("Executing bake with args: %v", args)
|
||||||
|
|
||||||
cmd := exec.CommandContext(ctx, buildx.Path, args...)
|
cmd := exec.CommandContext(ctx, buildx.Path, args...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user