From ace69c96a7f3fd1d6cf630ef2b73337d77a74593 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 16 Mar 2024 17:10:58 +0100 Subject: [PATCH] Use rawjson for the build backend. Signed-off-by: Felix Fontein --- cmd/compose/build.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/compose/build.go b/cmd/compose/build.go index b7ab0d01e..1c914134e 100644 --- a/cmd/compose/build.go +++ b/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,