mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-21 19:27:46 +08:00
bake: ensure --builder
is wired from root options
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
parent
fd6de6b6ae
commit
40b41ac6e4
@ -114,6 +114,7 @@ func bakeCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command {
|
|||||||
if !cmd.Flags().Lookup("pull").Changed {
|
if !cmd.Flags().Lookup("pull").Changed {
|
||||||
options.pull = nil
|
options.pull = nil
|
||||||
}
|
}
|
||||||
|
options.commonOptions.builder = rootOpts.builder
|
||||||
return runBake(dockerCli, args, options)
|
return runBake(dockerCli, args, options)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user