Skip to content

Commit

Permalink
chore: 변수 미설정으로 인한 레거시 이미지 삭제 불가 해결
Browse files Browse the repository at this point in the history
- No space left on device 에러
  • Loading branch information
mzeong committed Dec 5, 2024
1 parent 4acd62c commit 1aaa6a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/backend-cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ jobs:

- name: Clean Up Legacy Image
run: |
export DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
export DOCKERHUB_REPOSITORY=$DOCKERHUB_REPOSITORY
export DEV_MYSQL_PASSWORD=${{ secrets.DEV_MYSQL_PASSWORD }}
export JASYPT_ENCRYPTOR_PASSWORD=${{ secrets.JASYPT_PASSWORD }}
export TAG=${{ github.sha }}-dev
docker compose down || true
docker rmi $(docker images -q) -f || true
Expand Down

0 comments on commit 1aaa6a5

Please sign in to comment.