mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
Restored support for BUILDKIT_PROGRESS.
Signed-off-by: Nicolas De Loof <[email protected]>
This commit is contained in:
committed by
Guillaume Lours
parent
d4c1987638
commit
8e5b25c0f1
@@ -119,8 +119,8 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
|
||||
eg := errgroup.Group{}
|
||||
ch := make(chan *client.SolveStatus)
|
||||
displayMode := progressui.DisplayMode(options.Progress)
|
||||
if displayMode == progressui.AutoMode {
|
||||
options.Progress = os.Getenv("BUILDKIT_PROGRESS")
|
||||
if p, ok := os.LookupEnv("BUILDKIT_PROGRESS"); ok && displayMode == progressui.AutoMode {
|
||||
displayMode = progressui.DisplayMode(p)
|
||||
}
|
||||
out := options.Out
|
||||
if out == nil {
|
||||
|
||||
Reference in New Issue
Block a user