[+] 首次推送

This commit is contained in:
2024-12-31 16:50:29 +08:00
commit 5bb743ea1e
4 changed files with 134 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
```bash
docker pull docker.martin98.com/library/act_runner:latest
docker run --entrypoint="" --rm -it docker.martin98.com/library/act_runner:latest act_runner generate-config > config.yaml
```
```bash
docker run \
-v $(pwd)/config.yaml:/config.yaml \
-v $(pwd)/data:/data \
-v /var/run/docker.sock:/var/run/docker.sock \
-e CONFIG_FILE=/config.yaml \
-e GITEA_INSTANCE_URL=<instance_url> \
-e GITEA_RUNNER_REGISTRATION_TOKEN=<registration_token> \
-e GITEA_RUNNER_NAME=<runner_name> \
-e GITEA_RUNNER_LABELS=<runner_labels> \
--name my_runner \
-d gitea/act_runner:nightly
```