Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON stream progress writer #11478

Merged
merged 5 commits into from
Jul 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use rawjson for the build backend.
Signed-off-by: Felix Fontein <[email protected]>
  • Loading branch information
felixfontein committed Jun 28, 2024
commit 22459435f432a2aba12974e2012a74319ec9a5bf
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
Loading