mirror of
https://github.com/docker/compose.git
synced 2026-08-28 12:23:49 +00:00
Restored support for BUILDKIT_PROGRESS.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d4c1987638
commit
8e5b25c0f1
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue