build: fix JSON formatting for --print

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
David Karlsson
2023-04-24 12:05:04 +02:00
committed by CrazyMax
parent e5ccb64617
commit b724a173a9
+9 -3
View File
@@ -328,7 +328,9 @@ $ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
{
"group": {
"default": {
"targets": ["binary"]
"targets": [
"binary"
]
}
},
"target": {
@@ -341,8 +343,12 @@ $ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print
"VERSION": ""
},
"target": "binary",
"platforms": ["local"],
"output": ["build"]
"platforms": [
"local"
],
"output": [
"build"
]
}
}
}