Skip to content

Commit

Permalink
fix : .yml 수정
Browse files Browse the repository at this point in the history
docker에 있는 데이터 모두 지우는 코드 추가
  • Loading branch information
sycuuui committed Mar 25, 2024
1 parent 9b9ef70 commit 9ac8662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ jobs:
script: |
sudo docker stop $(sudo docker ps -aqf "name=${{ secrets.DOCKERHUB_REPOSITORY }}") || true
sudo docker rm $(sudo docker ps -aqf "name=${{ secrets.DOCKERHUB_REPOSITORY }}") || true
docker system prun
docker volume prune
sudo docker pull ${{ secrets.DOCKERHUB_NAME }}/${{ secrets.DOCKERHUB_REPOSITORY}}
sudo docker run -d -p 5000:5000 --name ${{ secrets.DOCKERHUB_REPOSITORY }} ${{ secrets.DOCKERHUB_NAME }}/${{ secrets.DOCKERHUB_REPOSITORY}}

0 comments on commit 9ac8662

Please sign in to comment.