Skip to content

Commit

Permalink
Use rawjson for the build backend.
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fontein <felix@fontein.de>
  • Loading branch information
felixfontein committed Jun 28, 2024
1 parent 0d2ed6b commit 2245943
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/compose/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2245943

Please sign in to comment.