WIP: Update .forgejo/workflows/reusable-build.yml #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "(deleted):clean-up"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
RUNNER HOST MAINTENANCE NOTE (for the runner administrator):
The per-job cleanup above removes dangling objects after each build, but
over time unused tagged images (e.g. old slackware-builder tags) and
volumes can still accumulate on the host.
As resault user workflows will terminate on top ""No space left on device" on the runner".
It is recommended to schedule a periodic cleanup on the runner host itself.
Add the following: crontab -e
0 3 * * * docker system prune -af 2>&1 | logger -t docker-prune
This runs nightly at 03:00, removes all unused images and build cache,
and logs the output via syslog. It is safe to run while jobs are active
because Docker will not remove images currently in use
Hi rizitis,
Apologies for the delay in answering.
I implemented a daily cron job two weeks ago which prunes everything that's older than two days.
np thank you!
Pull request closed