0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-01-12 01:01:16 -05:00

add missing token registration call

This commit is contained in:
Earl Warren 2023-05-21 17:53:44 +02:00 committed by Caesar Schinas
parent 673d7d3fa4
commit f5d143da67
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -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: