File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 서버 빌드 및 푸시
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) 빌드 및 푸시
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
You can’t perform that action at this time.
0 commit comments