Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Mar 8, 2024
1 parent a8e0d4f commit a1e68ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/test-driver
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ buildxCmd bake ${bakePlatformFlag} \
--builder="${builderName}" \
--set "*.context=${context}" \
--metadata-file="${context}/metadata-bake-def.json"
ls -al "${context}"
jq -n 'reduce inputs as $item ({}; .[input_filename | sub("^.*\\.(?<name>[^.]+)\\.json$"; "\(.name)")] = $item)' "${context}/metadata-bake-def.*.json"

# bake all target
Expand All @@ -177,4 +178,5 @@ buildxCmd bake ${bakePlatformFlag} \
--set "*.context=${context}" \
--metadata-file="${context}/metadata-bake-all.json" \
all
ls -al "${context}"
jq -n 'reduce inputs as $item ({}; .[input_filename | sub("^.*\\.(?<name>[^.]+)\\.json$"; "\(.name)")] = $item)' "${context}/metadata-bake-all.*.json"

0 comments on commit a1e68ca

Please sign in to comment.