mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
apply BUILDKIT_PROGRESS value when building with bake
Signed-off-by: Guillaume Lours <[email protected]>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user