build: fix JSON formatting for --print

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1748/head
David Karlsson 2 years ago committed by CrazyMax
parent e5ccb64617
commit b724a173a9
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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"
]
} }
} }
} }

Loading…
Cancel
Save