Merge pull request #321 from errordeveloper/fix-320

bake: ensure `--builder` is wired from root options
This commit is contained in:
Tõnis Tiigi 2020-07-19 15:58:33 -07:00 committed by GitHub
commit d8ca46066d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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