Add note about clearing git-ci-runner caches
All checks were successful
CI / build (push) Successful in 2m13s

This commit is contained in:
Fabian Hauser 2025-03-26 16:00:05 +02:00
parent 1badc42a60
commit c9cde808e2

View file

@ -18,3 +18,14 @@ Consequentially, don't use to build nix things that should stay secret (which is
## Create Secret Token ## Create Secret Token
To create a new token for registration, follow the steps outlined in the [Forgejo documentation](https://forgejo.org/docs/latest/user/actions/#forgejo-runner). To create a new token for registration, follow the steps outlined in the [Forgejo documentation](https://forgejo.org/docs/latest/user/actions/#forgejo-runner).
## Clear Runner Caches
Under some circumstances, runner caches need to be cleared. This can be done with:
```bash
cd /var/lib/private/gitea-runner/
systemctl stop --all gitea-runner-*
rm -r */.cache/
systemctl start --all gitea-runner-*
```