diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b4d82d5d7..c5c491167 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -51,10 +51,10 @@ jobs: echo "Purging old tool caches..." rm -rf /opt/hostedtoolcache/* || true rm -rf /opt/hostedtoolcache/.[!.]* || true - echo "Purging old build layers and dangling images..." + echo "Purging old build layers, unused volumes and images..." docker builder prune -a -f || true - docker image prune -a -f || true - docker system prune -f || true + docker volume prune -f || true + docker system prune -a -f || true echo "=== System Disk Usage After Prune ===" df -h || true