Skip to content

Commit

Permalink
Test if ci image alreasdy exist
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Nov 28, 2024
1 parent 7eecb30 commit f9b1d70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ jobs:

- name: Check if image exist
run: |
aws s3 ls "192549843005.dkr.ecr.eu-west-1.amazonaws.com/concordium/desktop-wallet-ci:test"
aws ecr describe-images --registry-id "192549843005" --repository-name "concordium/desktop-wallet-ci" --region eu-west-1 --image-ids=imageTag=tess
echo "EC=$?" >> $GITHUB_ENV
- name: Checkout repository
if: ${{ env.EC }}
if: ${{ env.EC }} == 0
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref_name }}

- name: build ci image
if: ${{ env.EC }}
if: ${{ env.EC }} == 0
uses: docker/build-push-action@v6
with:
push: true
Expand Down

0 comments on commit f9b1d70

Please sign in to comment.