Update readme.md

This commit is contained in:
xxq250 2026-04-13 10:48:55 +08:00
parent 239597bbda
commit d2d27c8afb
1 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,15 @@
### 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。 它们是逗号分隔的列表,每个项目都是一个标签。
默认标签为
···
labels:
- "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
- "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
- "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
···
。 它们是逗号分隔的列表,每个项目都是一个标签。
让我们以 ubuntu-22.04:docker://node:16-bullseye 为例。 它意味着Runner可以运行带有runs-on: ubuntu-22.04的Job并且该Job将在使用node:16-bullseye镜像的Docker容器中运行。