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 82f86d0 commit 005dfae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
# 새로운 이미지 기반으로 컨테이너 실행
script: |
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" | xargs -r sudo docker stop
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" | xargs -r sudo docker kill
sudo docker ps -a --filter "name=${{ secrets.PROJECT_NAME }}" | 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 kill
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 005dfae

Please sign in to comment.