From c93e7a01d37e4a3c158381d665402ec0eae62fdd Mon Sep 17 00:00:00 2001 From: Adrian Witaszak Date: Sun, 30 Jun 2024 13:42:41 +0100 Subject: [PATCH] chore: made publishable --- .github/workflows/main.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8244883b..c03137b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,6 @@ on: jobs: build: runs-on: ubuntu-latest - env: - ECR_CLUSTER: ${{ secrets.ECR_CLUSTER }} - ECR_SERVICE: ${{ secrets.ECR_SERVICE }} steps: - name: Checkout code @@ -45,6 +42,6 @@ jobs: docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - - name: Update image in AWS + - name: Update App Runner image in AWS run: | aws apprunner create-service --service-name benatty-shop-web-client --source-configuration '{"ImageRepository": {"ImageIdentifier": "'"$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"'", "ImageRepositoryType": "ECR"}}'