Skip to content

Commit

Permalink
fix : cd-v2.yml 에서 docker command 처리 시 prometheus -> prometheus.yml 로 변경
Browse files Browse the repository at this point in the history
- docker 실행 시 오류
   - prometheus.yml 의 문제가 아닌, 직접 파일 생성 시, .yml 확장자를 붙이지 않는 이슈였음
  • Loading branch information
vanillacake369 committed Mar 25, 2024
1 parent 025d648 commit 2be532f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cd-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ jobs:
-e TOSS_CLIENT_API_KEY=${{ secrets.TOSS_CLIENT_API_KEY }} -e TOSS_FAIL_URL=${{ secrets.TOSS_FAIL_URL }} \
-e TOSS_SECRET_API_KEY=${{ secrets.TOSS_SECRET_API_KEY }} -e TOSS_SUCCESS_URL=${{ secrets.TOSS_SUCCESS_URL }} \
-e PROFILE=prod -d --restart always --name csbroker-api $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> scripts/deploy.sh
echo "docker run -d -p 9090:9090 -v /home/ubuntu/docker-compose/prometheus/prometheus:/etc/prometheus/prometheus --name prometheus prom/prometheus" >> scripts/deploy.sh
# echo "docker run -d -p 9090:9090 -v /home/ubuntu/docker-compose/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml --name prometheus prom/prometheus" >> scripts/deploy.sh
echo "docker run -d -p 9090:9090 -v /home/ubuntu/docker-compose/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml --name prometheus prom/prometheus" >> scripts/deploy.sh
- name: upload to s3
Expand Down

0 comments on commit 2be532f

Please sign in to comment.