You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildx/bake
Justin Chadwell 03885ec9f1 hclparser: strip out blocks for json files
Body.JustAttributes cannot distinguish between blocks and attributes for
JSON files, so the variable block could be included in the list of
attributes returned.

This patch ensures that JSON and HCL files behave the same way by
removing all known block types first, from the provided config schema
and then from a generated definitions schema.

Fixes #1051

Signed-off-by: Justin Chadwell <me@jedevc.com>
3 years ago
..
hclparser hclparser: strip out blocks for json files 3 years ago
bake.go bake: fix skipped group when already visited by another one 3 years ago
bake_test.go bake: fix skipped group when already visited by another one 3 years ago
compose.go bake: support compose build secrets 3 years ago
compose_test.go bake: support compose build secrets 3 years ago
hcl.go bake: restrict target name 3 years ago
hcl_test.go hclparser: strip out blocks for json files 3 years ago
remote.go bake: fix protocol detection 3 years ago