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 Mar 16, 2024
1 parent 048d252 commit c5266d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/compose/build.go
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 c5266d4

Please sign in to comment.