From b2c6e90daff46e3b031d6f522dd2fa818261bb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B0=AC=EA=B8=B0?= Date: Sat, 31 Aug 2024 16:32:36 +0900 Subject: [PATCH] fix: change ecr public repo region --- .github/workflows/cd.develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.develop.yml b/.github/workflows/cd.develop.yml index fa2710e..141beed 100644 --- a/.github/workflows/cd.develop.yml +++ b/.github/workflows/cd.develop.yml @@ -29,7 +29,7 @@ jobs: - name: Push Image to AWS ECR Public Repo id: ecr-image-push run: | - aws ecr-public get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin public.ecr.aws/${{ secrets.AWS_ACCOUNT_ID }} + aws ecr-public get-login-password --region ${{ secrets.AWS_PUBLIC_REPO_REGION }} | docker login --username AWS --password-stdin public.ecr.aws/${{ secrets.AWS_ACCOUNT_ID }} docker build -t ${{ secrets.ECR_REPOSITORY }}:latest . docker tag ${{ secrets.ECR_REPOSITORY }}:latest public.ecr.aws/${{ secrets.AWS_ACCOUNT_ID }}/${{ secrets.ECR_REPOSITORY }}:latest docker push public.ecr.aws/${{ secrets.AWS_ACCOUNT_ID }}/${{ secrets.ECR_REPOSITORY }}:latest