From 038ea8441adc607fc616ea5c165de98a87f002e1 Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Tue, 29 Jul 2025 11:30:41 +0200 Subject: [PATCH] apply BUILDKIT_PROGRESS value when building with bake Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- pkg/compose/build_bake.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/compose/build_bake.go b/pkg/compose/build_bake.go index c19f15950..32e8e9200 100644 --- a/pkg/compose/build_bake.go +++ b/pkg/compose/build_bake.go @@ -130,6 +130,9 @@ type buildStatus struct { func (s *composeService) doBuildBake(ctx context.Context, project *types.Project, serviceToBeBuild types.Services, options api.BuildOptions) (map[string]string, error) { //nolint:gocyclo eg := errgroup.Group{} ch := make(chan *client.SolveStatus) + if options.Progress == progress.ModeAuto { + options.Progress = os.Getenv("BUILDKIT_PROGRESS") + } displayMode := progressui.DisplayMode(options.Progress) out := options.Out if out == nil {