fix issue with bash script for manifests

This commit is contained in:
Jade Ellis 2025-01-09 00:45:34 +00:00
parent ae627a129b
commit 0177d6c00e
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -256,6 +256,10 @@ jobs:
IMAGES_LIST=($IMAGES)
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
for REPO in "${IMAGES_LIST[@]}"; do
echo docker buildx imagetools create \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \
$(printf "$REPO@sha256:%s " *)
docker buildx imagetools create \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \