File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ jobs:
127
127
git reset --hard
128
128
git pull origin main
129
129
cd k8s/onlychat/deployment
130
- sh write_image_to_deploy.sh ${{ env.ECR_URL }} ap-east -2 ${NEW_VERSION}
130
+ sh write_image_to_deploy.sh ${{ env.ECR_URL }} ap-northeast -2 ${NEW_VERSION}
131
131
kubectl apply -f ./volume/
132
132
kubectl apply -f ./namespace/
133
133
kubectl apply -f ./service/
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ REGION=$2
11
11
VERSION=$3
12
12
13
13
# ECR에서 모든 이미지 태그 가져오기
14
- ALL_TAGS=$( aws ecr list-images --repository-name chat --filter " tagStatus=TAGGED" --query " imageIds[?contains(imageTag, '${VERSION} ')].imageTag" --output text)
14
+ ALL_TAGS=$( aws ecr list-images --repository-name chat --filter " tagStatus=TAGGED" --query " imageIds[?contains(imageTag, '${VERSION} ')].imageTag" --output text --region " $REGION " )
15
15
echo " Get all tags from ECR : $ALL_TAGS "
16
16
for file in * -deployment.yaml; do
17
17
echo " Check file : $file "
You can’t perform that action at this time.
0 commit comments