Skip to content

Commit 5b2bdc0

Browse files
committed
#45 fix: 프론트 및 백엔드 ECR 이미지 모두 반영
1 parent 8e4b3ea commit 5b2bdc0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci_cd_pipeline.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ jobs:
9696
cd /home/${{ secrets.EC2_USERNAME }}/postdm
9797
9898
echo "Logging in to ECR..."
99-
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ secrets.ECR_REGISTRY }}
99+
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ secrets.AWS_ECR_REPOSITORY }}
100+
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin ${{ secrets.AWS_ECR_FRONTEND_REPOSITORY }}
101+
100102
101103
echo "Updating .env file"
102104
cat <<EOF > .env

0 commit comments

Comments
 (0)