Skip to content

Commit 58c0d96

Browse files
authored
Update publish.yml
1 parent 744d810 commit 58c0d96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jobs:
8484
docker system prune -af
8585
# Remove all unused build cache
8686
docker builder prune -af
87-
# Optional: If you need more aggressive cleanup
88-
rm -rf /tmp/*
87+
# Clean only user-owned files in /tmp, ignore permission errors
88+
find /tmp -type f -user $(id -u) -exec rm -f {} + 2>/dev/null || true
8989
9090
- name: Extract metadata for Docker
9191
id: meta

0 commit comments

Comments
 (0)