mirror of https://github.com/docker/buildx.git
build: fix quiet mode
We are using the quiet flag option and we are not taking progress quiet mode into account Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
7cef021a8a
commit
ab5f5e4169
|
@ -273,7 +273,7 @@ func runBuild(dockerCli command.Cli, options buildOptions) (err error) {
|
|||
return retErr
|
||||
}
|
||||
|
||||
if options.quiet {
|
||||
if progressMode == progress.PrinterModeQuiet {
|
||||
fmt.Println(getImageID(resp.ExporterResponse))
|
||||
}
|
||||
if options.imageIDFile != "" {
|
||||
|
|
Loading…
Reference in New Issue