2
0

Update github-runner-deploy.md

This commit is contained in:
2025-12-27 01:02:06 +00:00
parent 75650a3bc9
commit 5a98c1abc9

View File

@@ -5,7 +5,7 @@ https://docs.gitea.com/usage/actions/act-runner
## Binary Runner (for host/native workloads) ## Binary Runner (for host/native workloads)
### Create dedicated user ### Create dedicated user
`sudo useradd -r -s /usr/sbin/nologin -m -c "Gitea Actions Runner" act_runner_native` `sudo useradd -r -s /usr/sbin/nologin -m -c "Gitea Actions Runner" act_runner`
### Download latest version (0.2.12) ### Download latest version (0.2.12)
``` ```
@@ -32,6 +32,8 @@ runner:
- "native:host" - "native:host"
- "linux-host:host" - "linux-host:host"
- "self-hosted:host" - "self-hosted:host"
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
``` ```
The :host suffix tells the runner to execute jobs directly on the host instead of in Docker containers. The :host suffix tells the runner to execute jobs directly on the host instead of in Docker containers.
@@ -74,7 +76,7 @@ WantedBy=multi-user.target
``` ```
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable --now act_runner_native sudo systemctl enable --now act_runner
``` ```
## Docker Runner ## Docker Runner