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),