ci: update docker post-deploy cleanup to prune build cache and unused tagged images
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m35s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m35s
This commit is contained in:
@@ -61,7 +61,8 @@ jobs:
|
||||
docker system prune -f
|
||||
ACTIVE_PROFILE=dev docker compose up -d --build --remove-orphans gateway redis mci-mock dozzle was-sms was-oth
|
||||
|
||||
# 5. 배포 후 대롱대롱 매달려 있는 가비지 이미지 자동 소거 청소!
|
||||
docker image prune -f
|
||||
# 5. 배포 후 대롱대롱 매달려 있는 가비지 이미지 및 빌드 캐시 자동 소거 청소!
|
||||
docker image prune -a -f
|
||||
docker builder prune -a -f
|
||||
|
||||
echo "CI/CD Deploy Success!"
|
||||
|
||||
Reference in New Issue
Block a user