ci: free disk space #9

Merged
gsadmin merged 1 commits from development into main 2026-09-02 13:50:21 +00:00
+13
View File
@@ -58,6 +58,19 @@ jobs:
with:
fetch-depth: 0
# This self-hosted runner accumulates Docker layers/images and caches
# across runs, which can fill the disk (npm ci fails with ENOSPC). Reclaim
# space up front by pruning unused Docker data (the image is rebuilt fresh
# later anyway) and the apt cache.
- name: Free disk space
shell: bash
run: |
df -h / || true
docker system prune -af || true
docker builder prune -af || true
sudo apt-get clean || true
df -h / || true
# Version = the UTC date of the HEAD commit, formatted yyyy.MM.dd.HHmm
# (the project's documented version scheme). Deriving it from the commit
# rather than "now" makes re-runs reproducible and keeps the image tag,