Skip to content

Commit 119b762

Browse files
authored
Merge pull request #42 from haram-jo/feature/#40
fix: 도커 빌드 경로 재설정
2 parents 19b8274 + ea3c734 commit 119b762

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ECR_REPOSITORY: mopl-api # 아까 만든 ECR 이름
3737
IMAGE_TAG: latest
3838
run: |
39-
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./api
39+
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./services/api
4040
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4141
4242
# 4. Batch 서버 빌드 및 푸시
@@ -46,7 +46,7 @@ jobs:
4646
ECR_REPOSITORY: mopl-batch
4747
IMAGE_TAG: latest
4848
run: |
49-
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./batch
49+
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./services/batch
5050
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
5151
5252
# 5. Gateway(Nginx) 빌드 및 푸시
@@ -56,5 +56,5 @@ jobs:
5656
ECR_REPOSITORY: mopl-gateway
5757
IMAGE_TAG: latest
5858
run: |
59-
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./gateway
59+
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./services/gateway
6060
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG

0 commit comments

Comments
 (0)