diff --git a/developer/forgejo-runner.md b/developer/forgejo-runner.md index eb2c3b32..5ede17f7 100644 --- a/developer/forgejo-runner.md +++ b/developer/forgejo-runner.md @@ -91,7 +91,9 @@ firefox http://$(cat forgejo-ip):3000 The user is `root` with password `admin1234`. The runner is registered with: ``` -cd setup-forgejo ; ../runner/forgejo-runner register --no-interactive --instance "http://$(cat forgejo-ip):3000/" --name runner --token $(cat forgejo-runner-token) --labels ubuntu-latest:docker://node:16-buster,self-hosted +cd setup-forgejo +docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token +../runner/forgejo-runner register --no-interactive --instance "http://$(cat forgejo-ip):3000/" --name runner --token $(cat forgejo-runner-token) --labels ubuntu-latest:docker://node:16-buster,self-hosted ``` And launched in debug mode with: