chore: standardize CI/CD maintenance and infrastructure cleanup

This commit is contained in:
2026-02-11 12:23:14 +01:00
parent a2ba79ef7b
commit f892eb81df

View File

@@ -37,6 +37,13 @@ jobs:
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: 🧹 Maintenance (High Density Cleanup)
shell: bash
run: |
echo "Purging old build layers and dangling images..."
docker image prune -f
docker builder prune -f --filter "until=6h"
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -284,6 +291,10 @@ jobs:
ssh root@alpha.mintel.me "docker system prune -f --filter 'until=24h'"
- name: 🧹 Post-Deploy Cleanup (Runner)
if: always()
run: docker builder prune -f --filter "until=1h"
# ──────────────────────────────────────────────────────────────────────────────
# JOB 5: Notifications
# ──────────────────────────────────────────────────────────────────────────────