From 29630f184ef0d73a53c798e22ac303d0685c34f9 Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Thu, 26 Jun 2025 11:17:16 +0200 Subject: [PATCH] check progress default value instead of empty string to use BUILDKIT_PROGRESS env variable value Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- pkg/compose/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/build.go b/pkg/compose/build.go index 8a4043a86..d404fd0a6 100644 --- a/pkg/compose/build.go +++ b/pkg/compose/build.go @@ -172,7 +172,7 @@ func (s *composeService) build(ctx context.Context, project *types.Project, opti if options.Quiet { options.Progress = progress.ModeQuiet } - if options.Progress == "" { + if options.Progress == progress.ModeAuto { options.Progress = os.Getenv("BUILDKIT_PROGRESS") } w, err = xprogress.NewPrinter(progressCtx, os.Stdout, progressui.DisplayMode(options.Progress),