build: avoid empty line when -q used with --call

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2026-02-13 17:11:35 -08:00
parent 044e152008
commit 499261eed5
2 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ func runBuild(ctx context.Context, dockerCli command.Cli, debugOpts debuggerOpti
case progressui.RawJSONMode:
// no additional display
case progressui.QuietMode:
if options.quiet {
if options.quiet && opts.CallFunc == nil {
fmt.Println(getImageID(resp.ExporterResponse))
}
default: