We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6dcf6 commit f47ba88Copy full SHA for f47ba88
.github/workflows/deploy.yml
@@ -38,8 +38,10 @@ jobs:
38
key: ${{ secrets.SERVER_SSH_KEY }}
39
script: |
40
# 이미 돌아가는 컨테이너가 있다면 중단/제거
41
- docker stop ${{ secrets.DOCKERHUB_REPO_NAME }} || true
42
- docker rm ${{ secrets.DOCKERHUB_REPO_NAME }} || true
+ docker-compose down
+
43
+ # 이상한 이미지들 제거
44
+ docker image prune -a
45
46
# 최신 이미지 pull
47
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO_NAME }}:latest
0 commit comments