소스 검색

Use rawjson for the build backend.

Signed-off-by: Felix Fontein <[email protected]>
Felix Fontein 1 년 전
부모
커밋
ace69c96a7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      cmd/compose/build.go

+ 1 - 2
cmd/compose/build.go

@@ -67,10 +67,9 @@ func (opts buildOptions) toAPIBuildOptions(services []string) (api.BuildOptions,
 		builderName = os.Getenv("BUILDX_BUILDER")
 	}
 
-	// The build backends do not have a "json" progress; use "plain" instead
 	uiMode := ui.Mode
 	if uiMode == ui.ModeJSON {
-		uiMode = ui.ModePlain
+		uiMode = "rawjson"
 	}
 	return api.BuildOptions{
 		Pull:     opts.pull,