From a585873698ca75325cdfc88729bafa12bfb39a35 Mon Sep 17 00:00:00 2001 From: Daniel Temme Date: Thu, 28 Dec 2023 11:45:01 +0200 Subject: [PATCH] wrap newlines in tag list --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 345edf1..3841296 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -84,7 +84,7 @@ jobs: shell: bash id: publish-image run: | - echo ${{ steps.meta.outputs.tags }} | xargs docker tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + echo "${{ steps.meta.outputs.tags }}" | xargs docker tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} docker push --quiet --all-tags ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} echo "DIGEST=$(docker images --format='{{.Digest}}' ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | head -n1)" >> $GITHUB_OUTPUT