Skip to content

Commit 09884e5

Browse files
committed
fix annotations?
1 parent b285606 commit 09884e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
run: |
128128
TAG_ARGS=$(echo '${{ steps.meta.outputs.json }}' | jq -cr '.tags | map("--tag " + .) | join(" ")')
129129
echo "TAG_ARGS=${TAG_ARGS}"
130-
ANNOTATION_ARGS=$(echo '${{ steps.meta.outputs.json }}' | jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")')
130+
readarray -t ANNOTATION_ARGS<<<$(echo '${{ steps.meta.outputs.json }}' | jq -cr '.annotations | map("--annotation\n" + .) | join("\n")')
131131
echo "ANNOTATION_ARGS=${ANNOTATION_ARGS}"
132132
LINUX_AMD64_IMAGE=$(echo '${{ steps.meta_amd64.outputs.json }}' | jq -cr '.tags[0]')
133133
echo "LINUX_AMD64_IMAGE=${LINUX_AMD64_IMAGE}"

0 commit comments

Comments
 (0)