From 7691d94a0aadcabb782b0931b28d8213759191da Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Sat, 17 Aug 2024 08:46:13 +0200 Subject: [PATCH] fix: debugging --- .github/workflows/publish-containers.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-containers.yml b/.github/workflows/publish-containers.yml index 416cad5..35d6d4d 100644 --- a/.github/workflows/publish-containers.yml +++ b/.github/workflows/publish-containers.yml @@ -135,9 +135,12 @@ jobs: ACTIONS_STEP_DEBUG: true run: | set -ex + echo $DOCKER_METADATA_OUTPUT_JSON + echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq + export DOCKER_METADATA_OUTPUT_JSON=$(echo $DOCKER_METADATA_OUTPUT_JSON | sed 's/\\"//g'|jq) docker buildx imagetools create \ $(echo $DOCKER_METADATA_OUTPUT_JSON | jq -cr '.tags | map("-t " + .) | join(" ")') \ - $(echo $DOCKER_METADATA_OUTPUT_JSON | jq -r '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \ + $(echo $DOCKER_METADATA_OUTPUT_JSON | jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \ $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *) # - name: Create manifest list and push