From 783c4785cdf48d25fa04447e5cca25b00a7913f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20K=C3=B8hler=20Warmdahl?= Date: Tue, 3 Dec 2024 13:23:05 +0100 Subject: [PATCH] Test check version --- .github/workflows/release.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d92f0ef3..ec50a454d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -51,15 +51,8 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 with: mask-password: false - - - name: Check if image exist - run: | - aws ecr describe-images --registry-id "192549843005" --repository-name "concordium/desktop-wallet-ci" --region eu-west-1 --image-ids=imageTag=test - echo "EC=$?" >> $GITHUB_ENV - - name: Checkout repository - if: ${{ env.EC == 254 }} uses: actions/checkout@v4 with: submodules: recursive @@ -77,6 +70,11 @@ jobs: exit 1 fi echo "VERSION=$VERSION" >> $GITHUB_ENV + + - name: Check if image exist + run: | + aws ecr describe-images --registry-id "192549843005" --repository-name "concordium/desktop-wallet-ci" --region eu-west-1 --image-ids=imageTag=test + echo "EC=$?" >> $GITHUB_ENV - name: build ci image if: ${{ env.EC == 254 }}