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>
pull/1841/head
CrazyMax 2 years ago
parent 7cef021a8a
commit ab5f5e4169
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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…
Cancel
Save