2023-11-09 10:14:45 +08:00
|
|
|
# gitea-runner-ci-demo
|
|
|
|
|
2023-11-09 12:07:46 +08:00
|
|
|
A gitea runner ci demo
|
|
|
|
|
|
|
|
|
|
|
|
### gitea runner
|
|
|
|
``` shell
|
|
|
|
docker run -itd \
|
2023-11-10 09:27:32 +08:00
|
|
|
-e GITEA_RUNNER_NAME=<gitea-runner-name> \
|
2023-11-09 12:07:46 +08:00
|
|
|
-e GITEA_INSTANCE_URL=<gitea-server> \
|
|
|
|
-e GITEA_RUNNER_REGISTRATION_TOKEN=<gitea-runner-token> \
|
|
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
--name gitea_runner \
|
|
|
|
gitea/act_runner:latest
|
|
|
|
|
|
|
|
```
|