From 611f949ce7b0deb6fbd1613736c6554bbc6d8f16 Mon Sep 17 00:00:00 2001 From: Tanguy Rossel Date: Thu, 24 Oct 2024 10:59:56 +0200 Subject: [PATCH] fix(ci): variable name --- .github/workflows/publish_docker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_docker.yaml b/.github/workflows/publish_docker.yaml index 8427377..772bc51 100644 --- a/.github/workflows/publish_docker.yaml +++ b/.github/workflows/publish_docker.yaml @@ -36,9 +36,9 @@ 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}}' '${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMG_NAME }}:${{ env.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 }} + docker_image_sha: ${{ steps.get_image_sha.outputs.img_sha }} trigger_deploy: name: Trigger deploy on lab @@ -57,6 +57,6 @@ jobs: workflow_id: 'update-ngv-image.yaml', ref: 'main', inputs: { - img_sha: '${{ needs.build_and_publish.outputs.img_sha }}' + img_sha: '${{ needs.build_and_publish.outputs.docker_image_sha }}' } });