Skip to content

Commit

Permalink
Merge pull request #38 from mmig01/main
Browse files Browse the repository at this point in the history
feat: docker stop 후 바로 rm 하도록 변경
  • Loading branch information
mmig01 authored Sep 28, 2024
2 parents 59ad358 + f0fa528 commit 9e23122
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/django_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/festival_backend_image:latest
# 4. 기존 컨테이너 중지 및 삭제
sudo docker stop festival_backend_server || true
sudo docker rm festival_backend_server || true
sudo docker stop festival_backend_server && sudo docker rm festival_backend_server
# 이전 버전 이미지 삭제
sudo docker image prune -f
Expand Down

0 comments on commit 9e23122

Please sign in to comment.