apply BUILDKIT_PROGRESS value when building with bake

Signed-off-by: Guillaume Lours <[email protected]>
This commit is contained in:
Guillaume Lours
2025-07-29 11:45:33 +02:00
parent 9e98e6101e
commit 038ea8441a
+3
View File
@@ -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 {