Skip to content

Commit

Permalink
update :: docker ps stop
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Sep 24, 2024
1 parent 894496f commit 686d41f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotori-develop-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
key: ${{ secrets.KEYPAIR }}
script: |
sudo docker ps
sudo docker stop $(docker ps -q -f "publish=8080")
sudo docker rm $(docker ps -q -f "publish=8080")
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/dotori-dev
sudo docker run --net="host" --name dotori-dev --rm -d -p 8080:8080 ${{secrets.DOCKERHUB_USERNAME}}/dotori-dev
sudo docker image prune -f

0 comments on commit 686d41f

Please sign in to comment.