From ab5f5e4169d48da24cde3482cabccb8c999274b3 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 6 Jun 2023 18:45:48 +0200 Subject: [PATCH] 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 --- commands/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/build.go b/commands/build.go index 55a92e98..549bafd1 100644 --- a/commands/build.go +++ b/commands/build.go @@ -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 != "" {