From 75ec4d1e753d23ff6dd480c721b00b22b21663c2 Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Wed, 11 Mar 2026 10:26:30 +0000 Subject: [PATCH] CLDC-4236: use list-images in review app deployments --- .github/workflows/aws_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index 5af3c2d08..0e82e576b 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -55,7 +55,7 @@ jobs: - name: Check if image with tag already exists run: | - echo "image-exists=$(if aws ecr list-images --repository-name=$repository --query "imageIds[*].imageTag" | grep -q ${{ github.sha }}; then echo true; else echo false; fi)" >> $GITHUB_ENV + echo "image-exists=$(if aws ecr describe-images --repository-name=$repository --image-ids imageTag=${{ github.sha }} > /dev/null 2>&1; then echo true; else echo false; fi)" >> $GITHUB_ENV - name: Build, tag, and push docker image to ECR if there is no image, failing for releases id: build-image