bake: ensure --builder is wired from root options

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko 2020-07-08 12:02:13 +01:00
parent fd6de6b6ae
commit 40b41ac6e4
No known key found for this signature in database
GPG Key ID: E7889175A6C0CEB9

View File

@ -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)
},
}