mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-29 08:57:44 +08:00
Merge pull request #321 from errordeveloper/fix-320
bake: ensure `--builder` is wired from root options
This commit is contained in:
commit
d8ca46066d
@ -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