Skip to content

Commit

Permalink
Update icurri_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
genius00hwan authored Nov 23, 2024
1 parent f25c817 commit c5d9c57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/icurri_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ jobs:
key: ${{ secrets.RELEASE_SSH_KEY }}
script: |
# Stop and remove all containers except MongoDB
sudo docker ps -a -q --filter "name!=mongoDB" | xargs -r sudo docker stop || true
sudo docker ps -a -q --filter "name!=mongoDB" | xargs -r sudo docker rm || true
sudo docker images -q | xargs -r docker rmi || true
sudo docker stop $(sudo docker ps -a -q) | true
sudo docker rm $(sudo docker ps -a -q) | true
sudo docker images -q | xargs -r docker rmi
sudo docker system prune -af
# Docker login and pull new image from ECR
Expand Down

0 comments on commit c5d9c57

Please sign in to comment.