Skip to content

Commit

Permalink
prod1 도커 컨테이너명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql authored Feb 7, 2023
1 parent a49d04b commit c8207dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CD_Prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_KEY }}
script: |
docker stop myongsick_dev
docker rm myongsick_dev
docker stop myongsik_prod1
docker rm myongsik_prod1
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/myongsik
sudo docker run -d --name myongsik_prod1 -v /etc/localtime:/etc/localtime:ro -e JAVA_OPTS=-Djasypt.encryptor.password=${{ secrets.YML_PASSWORD }} -e TZ=Asia/Seoul -e ENVIRONMENT_VALUE=-Dspring.profiles.active=prod -p 8081:8080 ${{ secrets.DOCKER_USERNAME }}/myongsik:latest
docker rmi -f $(docker images -f "dangling=true" -q)

0 comments on commit c8207dc

Please sign in to comment.