Skip to content

Commit

Permalink
🔨 fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ddoddii committed Jan 11, 2024
1 parent 005dfae commit 01284f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ jobs:
# 새로운 이미지 기반으로 컨테이너 실행
script: |
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" --format "{{.ID}} | xargs -r sudo docker stop
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" --format "{{.ID}} | xargs -r sudo docker kill
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" --format "{{.ID}} | xargs -r sudo docker rm -f
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" --format "{{.ID}}" | xargs -r sudo docker stop
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" --format "{{.ID}}" | xargs -r sudo docker rm -f
sudo docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}
Expand Down

0 comments on commit 01284f5

Please sign in to comment.