diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a95fb85..de51759 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -210,11 +210,20 @@ jobs: - name: Safe storage pruning run: | - # Stop and remove any running containers first - podman --remote ps -aq | xargs -r podman --remote rm -f 2>/dev/null || true - # Then prune system + set -x # Enable debug output + # List and remove any running containers first + echo "=== Removing running containers ===" + podman --remote ps -aq | while read -r container; do + echo "Removing container: $container" + podman --remote rm -f "$container" || echo "Failed to remove container $container" + done + + echo "=== Pruning system ===" podman --remote system prune -f + echo "=== Storage status after pruning ===" + podman --remote system df + - name: Build frontend container image run: | # Create temp directory on larger filesystem