build: fix JSON formatting for --print

This commit is contained in:
David Karlsson 2023-01-10 16:17:38 +01:00
parent 43d4fcb099
commit 2392d1c917
1 changed files with 9 additions and 3 deletions

View File

@ -328,7 +328,9 @@ $ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
{ {
"group": { "group": {
"default": { "default": {
"targets": ["binary"] "targets": [
"binary"
]
} }
}, },
"target": { "target": {
@ -341,8 +343,12 @@ $ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
"VERSION": "" "VERSION": ""
}, },
"target": "binary", "target": "binary",
"platforms": ["local"], "platforms": [
"output": ["build"] "local"
],
"output": [
"build"
]
} }
} }
} }