bake: add --load and --push shorthands for --set

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass
2019-10-16 22:04:54 +00:00
parent 2bca8fa677
commit 417f52e001
3 changed files with 20 additions and 7 deletions

View File

@ -38,9 +38,6 @@ type buildOptions struct {
extraHosts []string
networkMode string
exportPush bool
exportLoad bool
// unimplemented
squash bool
quiet bool
@ -65,9 +62,11 @@ type buildOptions struct {
}
type commonOptions struct {
noCache bool
progress string
pull bool
noCache bool
progress string
pull bool
exportPush bool
exportLoad bool
}
func runBuild(dockerCli command.Cli, in buildOptions) error {