diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index cff8d9450..d5a306a85 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -52,6 +52,9 @@ jobs: - name: Check if image with tag already exists run: | echo "image-exists=$(if aws ecr list-images --no-paginate --repository-name=$repository --query "imageIds[*].imageTag" | grep -q ${{ github.sha }}; then echo true; else echo false; fi)" >> $GITHUB_ENV + + - name: Check value of image-exists + run: | echo ${{ env.image-exists }} - name: Build, tag, and push docker image to ECR