From 750cd99b66a853f6a21e866bc84a5d744436ff79 Mon Sep 17 00:00:00 2001 From: Tanguy Rossel Date: Thu, 24 Oct 2024 10:49:04 +0200 Subject: [PATCH] fix(ci): image hash --- .github/workflows/publish_docker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_docker.yaml b/.github/workflows/publish_docker.yaml index 7cb64d5..8427377 100644 --- a/.github/workflows/publish_docker.yaml +++ b/.github/workflows/publish_docker.yaml @@ -36,7 +36,7 @@ jobs: tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMG_NAME }}:${{ env.DOCKER_TAG }} - name: Update images sha id: get_image_sha - run: echo "img_sha=$(docker inspect --format='{{index .RepoDigests 0}}' '${DOCKER_REGISTRY}/${DOCKER_IMG_NAME}:${DOCKER_TAG}' | cut -d':' -f2)" >> $GITHUB_OUTPUT; + run: echo "img_sha=$(docker inspect --format='{{index .RepoDigests 0}}' '${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMG_NAME }}:${{ env.DOCKER_TAG }}' | cut -d':' -f2)" >> $GITHUB_OUTPUT; outputs: image_sha: ${{ steps.get_image_sha.outputs.img_sha }}