From 40b41ac6e4725619885a0d73bbeca814a6c73c09 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 8 Jul 2020 12:02:13 +0100 Subject: [PATCH] bake: ensure `--builder` is wired from root options Signed-off-by: Ilya Dmitrichenko --- commands/bake.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/bake.go b/commands/bake.go index 7a876722..c5ab0bc7 100644 --- a/commands/bake.go +++ b/commands/bake.go @@ -114,6 +114,7 @@ func bakeCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command { if !cmd.Flags().Lookup("pull").Changed { options.pull = nil } + options.commonOptions.builder = rootOpts.builder return runBake(dockerCli, args, options) }, }