fix(ci): violently purge buildx containers to avoid overlayfs corruption

This commit is contained in:
2026-06-03 16:55:00 +02:00
parent 00a8e3248f
commit b57d8d798c

View File

@@ -167,6 +167,9 @@ jobs:
sudo rm -rf /opt/hostedtoolcache/CodeQL || true sudo rm -rf /opt/hostedtoolcache/CodeQL || true
# Comprehensive Docker purge # Comprehensive Docker purge
docker buildx stop || true
docker buildx rm -a || true
docker rm -fv $(docker ps -aq --filter "ancestor=moby/buildkit") || true
docker system prune -af --volumes docker system prune -af --volumes
docker builder prune -af docker builder prune -af
docker buildx prune -af docker buildx prune -af
@@ -241,8 +244,6 @@ jobs:
DIRECTUS_URL: ${{ needs.prepare.outputs.directus_url }} DIRECTUS_URL: ${{ needs.prepare.outputs.directus_url }}
DIRECTUS_HOST: cms.${{ needs.prepare.outputs.traefik_host }} DIRECTUS_HOST: cms.${{ needs.prepare.outputs.traefik_host }}
# Mail # Mail
MAIL_HOST: ${{ secrets.SMTP_HOST || vars.SMTP_HOST }} MAIL_HOST: ${{ secrets.SMTP_HOST || vars.SMTP_HOST }}
MAIL_PORT: ${{ secrets.SMTP_PORT || vars.SMTP_PORT || '587' }} MAIL_PORT: ${{ secrets.SMTP_PORT || vars.SMTP_PORT || '587' }}