更新 i18n/zh-cn/docusaurus-plugin-content-docs/version-1.24/usage/actions/act-runner.md (#234)

Signed-off-by: SnowballXueQiu <snowballxueqiu@noreply.gitea.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/docs/pulls/234
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: SnowballXueQiu <snowballxueqiu@noreply.gitea.com>
Co-committed-by: SnowballXueQiu <snowballxueqiu@noreply.gitea.com>
This commit is contained in:
SnowballXueQiu
2025-11-20 19:51:36 +00:00
committed by Lunny Xiao
parent 9baa98ec3f
commit f12e3675b1
3 changed files with 27 additions and 0 deletions

View File

@@ -435,6 +435,15 @@ docker run \
### Labels
```mermaid
flowchart TD
A[Workflow: runs-on: ubuntu-22.04] --> B[Act Runner receives Job request]
B --> C[Match label: ubuntu-22.04:docker://node:16-bullseye]
C --> D[Start Docker container: node:16-bullseye]
D --> E[Run Job steps inside the container]
E --> F[Return execution results to Gitea]
```
The labels of a runner are used to determine which jobs the runner can run, and how to run them.
The default labels are `ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster`.