mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
Use rawjson for the build backend.
Signed-off-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
2db04c1e40
commit
ace69c96a7
@ -67,10 +67,9 @@ func (opts buildOptions) toAPIBuildOptions(services []string) (api.BuildOptions,
|
|||||||
builderName = os.Getenv("BUILDX_BUILDER")
|
builderName = os.Getenv("BUILDX_BUILDER")
|
||||||
}
|
}
|
||||||
|
|
||||||
// The build backends do not have a "json" progress; use "plain" instead
|
|
||||||
uiMode := ui.Mode
|
uiMode := ui.Mode
|
||||||
if uiMode == ui.ModeJSON {
|
if uiMode == ui.ModeJSON {
|
||||||
uiMode = ui.ModePlain
|
uiMode = "rawjson"
|
||||||
}
|
}
|
||||||
return api.BuildOptions{
|
return api.BuildOptions{
|
||||||
Pull: opts.pull,
|
Pull: opts.pull,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user