mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-09-18 08:49:08 +08:00
Merge pull request #773 from tonistiigi/bake-push-fix
bake: fix using push override with output definition
This commit is contained in:
@@ -64,7 +64,7 @@ func runBake(dockerCli command.Cli, targets []string, in bakeOptions) (err error
|
||||
if in.exportLoad {
|
||||
return errors.Errorf("push and load may not be set together at the moment")
|
||||
}
|
||||
overrides = append(overrides, "*.output=type=registry")
|
||||
overrides = append(overrides, "*.push=true")
|
||||
} else if in.exportLoad {
|
||||
overrides = append(overrides, "*.output=type=docker")
|
||||
}
|
||||
|
Reference in New Issue
Block a user