Skip to content

Commit 1a6f755

Browse files
committed
fix(ci): annotation issue on imagetool
1 parent 79b9ceb commit 1a6f755

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
run: |
187187
# Create the manifest list and push to both registries
188188
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
189-
$(jq -r '.annotations | to_entries[] | "--annotation \(.key)=\(.value)"' <<<"$DOCKER_METADATA_OUTPUT_JSON")
189+
$(jq -r '.annotations | to_entries[] | "--annotation", "\(.key)=\(.value)"' <<<"$DOCKER_METADATA_OUTPUT_JSON")
190190
$(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *) \
191191
$(printf 'ghcr.io/${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
192192

0 commit comments

Comments
 (0)