From a42ae5878c249b1455a8396e26b73bb2c732f330 Mon Sep 17 00:00:00 2001 From: Elias Ricken de Medeiros <26007058+erdemedeiros@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:16:38 +0100 Subject: [PATCH 1/2] AAE-17274 create repository on ECR if needed --- .github/actions/docker-build-image/action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index b751779be..e4b86b8ca 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -182,6 +182,13 @@ runs: with: mask-password: true + - name: Create ECR repository if needed + if: env.PUSH_IMAGE == 'true' + shell: bash + run: | + aws ecr describe-repositories --repository-names ${IMAGE_REPOSITORY} \ + || aws ecr create-repository --repository-name ${IMAGE_REPOSITORY} + - name: Build and Push image ${{ env.IMAGE_NAME }} if: env.PUSH_IMAGE == 'true' uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 From 87eaba9f6b24ba2a3fc3a67cabd32717037ac55a Mon Sep 17 00:00:00 2001 From: Elias Ricken de Medeiros <26007058+erdemedeiros@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:03:30 +0100 Subject: [PATCH 2/2] Update version --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index ee80415e1..32bc9525e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v5.2.0 +v5.3.0