From 2be532fbdf52e9019f894bf0d130e884a2146d55 Mon Sep 17 00:00:00 2001 From: Laptop-Limjihoon Date: Mon, 25 Mar 2024 16:59:50 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20cd-v2.yml=20=EC=97=90=EC=84=9C=20dock?= =?UTF-8?q?er=20command=20=EC=B2=98=EB=A6=AC=20=EC=8B=9C=20prometheus=20->?= =?UTF-8?q?=20prometheus.yml=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docker 실행 시 오류 - prometheus.yml 의 문제가 아닌, 직접 파일 생성 시, .yml 확장자를 붙이지 않는 이슈였음 --- .github/workflows/cd-v2.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cd-v2.yml b/.github/workflows/cd-v2.yml index 3ffb50f6..a641ebea 100644 --- a/.github/workflows/cd-v2.yml +++ b/.github/workflows/cd-v2.yml @@ -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