From a7e93380c5f737771501d14ff1c24385c6b04637 Mon Sep 17 00:00:00 2001 From: Lavanya Sharma Date: Thu, 22 Aug 2024 14:59:01 +0530 Subject: [PATCH] Update docker-deploy.yml --- .github/workflows/docker-deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-deploy.yml b/.github/workflows/docker-deploy.yml index 66afc8f..e820539 100644 --- a/.github/workflows/docker-deploy.yml +++ b/.github/workflows/docker-deploy.yml @@ -22,18 +22,18 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Log in to AWS ECR - uses: aws-actions/amazon-ecr-login@v2 - - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v3 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-2 + aws-region: us-east-1 + + - name: Log in to AWS ECR + uses: aws-actions/amazon-ecr-login@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 - name: Build Docker image id: build-image