Merge pull request 'use forgejo-url for brievety' (#137) from earl-warren/runner:wip-cleanup into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/137 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
fd0596cd15
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ A Forgejo instance is launched with:
|
||||||
```shell
|
```shell
|
||||||
cd setup-forgejo
|
cd setup-forgejo
|
||||||
./forgejo.sh setup
|
./forgejo.sh setup
|
||||||
firefox http://$(cat forgejo-ip):3000
|
firefox $(cat forgejo-url)
|
||||||
```
|
```
|
||||||
|
|
||||||
The user is `root` with password `admin1234`. The runner is registered with:
|
The user is `root` with password `admin1234`. The runner is registered with:
|
||||||
|
@ -59,7 +59,7 @@ The user is `root` with password `admin1234`. The runner is registered with:
|
||||||
```
|
```
|
||||||
cd setup-forgejo
|
cd setup-forgejo
|
||||||
docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token
|
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 docker:docker://node:16-bullseye,self-hosted:host://-self-hosted,lxc:lxc://debian:bullseye
|
../runner/forgejo-runner register --no-interactive --instance "$(cat forgejo-url)" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,self-hosted:host://-self-hosted,lxc:lxc://debian:bullseye
|
||||||
```
|
```
|
||||||
|
|
||||||
And launched with:
|
And launched with:
|
||||||
|
|
Loading…
Reference in a new issue