Skip to content

Commit

Permalink
setting: 실행중인 컨테이너 도커 이미지 지우기 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehan4707 authored Jul 21, 2024
1 parent d036170 commit 04d87c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mimo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
sudo docker rm $CONTAINER_ID
fi
IMAGE_ID=$(sudo docker images -q ${{ secrets.DOCKER_REPO}})
if [! -z "$IMAGE_ID" ]; then
if [ ! -z "$IMAGE_ID" ]; then
sudo docker rmi $IMAGE_ID
fi
sudo docker pull ${{ secrets.DOCKER_REPO }}
Expand Down

0 comments on commit 04d87c7

Please sign in to comment.