Skip to content

Commit

Permalink
임시 - 이전 deploy 스크립트로 변경
Browse files Browse the repository at this point in the history
- 서버 배포 이슈
  • Loading branch information
DEREVGEN committed Nov 5, 2023
1 parent 8d4a693 commit 71f7ae3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,11 @@ jobs:
script: |
docker pull ${{ secrets.DOCKER_USERNAME }}/chagok:latest
docker tag ${{ secrets.DOCKER_USERNAME }}/chagok:latest chagok:latest
# docker stop $(docker ps -a -q)
docker stop chagok:latest
docker stop $(docker ps -a -q)
docker run -d --rm -p 8080:8080 --net redis-network --memory 1024m chagok:latest
# docker run -d --rm -p 6379:6379 --net redis-network --memory 256m redis:latest
docker run -d --rm -p 6379:6379 --net redis-network --memory 256m redis:latest
docker rm $(docker ps --filter 'status=exited' -a -q)
# 실행 중이지 않으 모든 컨테인 삭제
docker image prune -a -f
# 사용하지않은 모든 이미지 삭제
# 사용하지않은 모든 이미지 삭제

0 comments on commit 71f7ae3

Please sign in to comment.