From 0177d6c00ef8154e60a9d04d2c84d57d7edafdb3 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Thu, 9 Jan 2025 00:45:34 +0000 Subject: [PATCH] fix issue with bash script for manifests --- .github/workflows/publish-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index af27b75b..39f178ae 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -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[@]}") \