更新 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

@@ -236,6 +236,15 @@ docker run \
### 标签
```mermaid
flowchart TD
A[Workflow: runs-on: ubuntu-22.04] --> B[Act Runner 收到 Job 请求]
B --> C[匹配标签: ubuntu-22.04:docker://node:16-bullseye]
C --> D[启动 Docker 容器: node:16-bullseye]
D --> E[在容器中运行 Job 步骤]
E --> F[返回执行结果给 Gitea]
```
Runner的标签用于确定Runner可以运行哪些Job以及如何运行它们。
默认标签为`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`

View File

@@ -236,6 +236,15 @@ docker run \
### 标签
```mermaid
flowchart TD
A[Workflow: runs-on: ubuntu-22.04] --> B[Act Runner 收到 Job 請求]
B --> C[匹配標籤: ubuntu-22.04:docker://node:16-bullseye]
C --> D[啟動 Docker 容器: node:16-bullseye]
D --> E[在容器中執行 Job 步驟]
E --> F[返回執行結果給 Gitea]
```
Runner的标签用于确定Runner可以运行哪些Job以及如何运行它们。
默认标签为`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`

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`.