Skip to content

Commit

Permalink
Merge pull request #17 from geoblocks/fix-ci
Browse files Browse the repository at this point in the history
fix(ci): variable name
  • Loading branch information
tyrossel authored Oct 24, 2024
2 parents c18c399 + 611f949 commit f6e14ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}'
}
});

0 comments on commit f6e14ff

Please sign in to comment.