From 4d92257851377a893c38d2c97bdb615abd201f84 Mon Sep 17 00:00:00 2001 From: george akanza Date: Tue, 13 Feb 2024 18:14:37 -0500 Subject: [PATCH] deploy workflow: build and push docker image to ECR --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 949d7a78..81145fdc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,7 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: eu-west-1 + aws-region: us-east-1 - name: Login to Amazon ECR id: login-ecr @@ -44,7 +44,7 @@ jobs: docker push -a $ECR_REGISTRY/$ECR_REPOSITORY - name: Update kube config - run: aws eks update-kubeconfig --name simple-bank-eks --region eu-west-1 + run: aws eks update-kubeconfig --name simple-bank-eks --region us-east-1 - name: Deploy image to Amazon EKS run: |