mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
更新 i18n/zh-cn/docusaurus-plugin-content-docs/version-1.24/usage/actions/act-runner.md (#234)
Signed-off-by: SnowballXueQiu <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Reviewed-on: https://gitea.com/gitea/docs/pulls/234 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: SnowballXueQiu <[email protected]> Co-committed-by: SnowballXueQiu <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
Lunny Xiao
parent
9baa98ec3f
commit
f12e3675b1
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user