Add a quick start runner method in README (#282)

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/282
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
pull/48/head
Lunny Xiao 2023-07-12 01:43:26 +00:00 committed by Jason Song
parent 57ff1df6e0
commit c701ba4787
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,12 @@ If the registry succeed, it will run immediately. Next time, you could run the r
./act_runner daemon ./act_runner daemon
``` ```
### Run with docker
```bash
docker run -e GITEA_INSTANCE_URL=https://your_gitea.com -e GITEA_RUNNER_REGISTRATION_TOKEN=<your_token> -v /var/run/docker.sock:/var/run/docker.sock --name my_runner gitea/act_runner:nightly
```
### Configuration ### Configuration
You can also configure the runner with a configuration file. You can also configure the runner with a configuration file.