We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec1907c commit 562d3bdCopy full SHA for 562d3bd
1 file changed
.github/workflows/data-replication-pipeline.yml
@@ -79,7 +79,7 @@ jobs:
79
prepare-deployment:
80
name: Prepare deployment
81
runs-on: ubuntu-latest
82
- needs: build-and-push-image
+ needs: [build-and-push-image, determine-git-sha]
83
permissions:
84
id-token: write
85
steps:
@@ -97,7 +97,7 @@ jobs:
97
run: |
98
digest=$(aws ecr describe-images \
99
--repository-name mavis/webapp \
100
- --image-ids imageTag=$git_ref_to_deploy \
+ --image-ids imageTag=${{ needs.determine-git-sha.outputs.git-sha }} \
101
--query 'imageDetails[0].imageDigest' \
102
--output text)
103
echo "digest=$digest" >> $GITHUB_OUTPUT
0 commit comments