mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 03:18:48 +08:00
feat: 优化 Act Runner 安装脚本
This commit is contained in:
parent
366fb23ef2
commit
506f3b6a55
@ -1,31 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: http://1.2.3.4:567
|
||||
edit: true
|
||||
envKey: GITEA_INSTANCE_URL
|
||||
labelEn: Gitea instance URL
|
||||
labelZh: Gitea 实例 URL
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: RUNNER_REGISTRATION_TOKEN
|
||||
labelEn: Gitea runner REGISTRATION TOKEN
|
||||
labelZh: Gitea runner REGISTRATION TOKEN
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: RUNNER_NAME
|
||||
labelEn: Gitea runner name
|
||||
labelZh: Gitea runner name
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: RUNNER_LABELS
|
||||
labelEn: Gitea runner labels
|
||||
labelZh: Gitea runner labels
|
||||
required: true
|
||||
type: text
|
||||
formFields:
|
||||
- default: http://1.2.3.4:3000
|
||||
edit: true
|
||||
envKey: GITEA_INSTANCE_URL
|
||||
labelEn: Gitea Instance
|
||||
labelZh: Gitea 实例
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: '<registration_token>'
|
||||
edit: true
|
||||
envKey: RUNNER_REGISTRATION_TOKEN
|
||||
labelEn: Registration Token
|
||||
labelZh: Registration Token
|
||||
required: true
|
||||
type: text
|
||||
- default: '<runner_name>'
|
||||
edit: true
|
||||
envKey: RUNNER_NAME
|
||||
labelEn: Runner Name
|
||||
labelZh: Runner Name
|
||||
required: true
|
||||
type: text
|
||||
- default: '<runner_labels>'
|
||||
edit: true
|
||||
envKey: RUNNER_LABELS
|
||||
labelEn: Runner Labels
|
||||
labelZh: Runner Labels
|
||||
required: true
|
||||
type: text
|
||||
|
@ -1,5 +1,6 @@
|
||||
services:
|
||||
act_runner:
|
||||
image: gitea/act_runner:0.2.10
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
@ -14,10 +15,8 @@ services:
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_REGISTRATION_TOKEN}
|
||||
- GITEA_RUNNER_NAME=${RUNNER_NAME}
|
||||
- GITEA_RUNNER_LABELS=${RUNNER_LABELS}
|
||||
image: gitea/act_runner:0.2.10
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
@ -1,3 +1,12 @@
|
||||
# act runner
|
||||
|
||||
Act runner是一个基于[Gitea fork](https://gitea.com/gitea/act)的[Gitea](https://github.com/nektos/act)上的运行器。
|
||||
**Act runner** 是一个基于 [Gitea fork](https://gitea.com/gitea/act) 的 [Gitea](https://github.com/nektos/act) 上的运行器。
|
||||
|
||||
## 如何获取 RUNNER_REGISTRATION_TOKEN
|
||||
|
||||
1. 登录到您的 Gitea 实例。
|
||||
2. 转到您存储仓库的页面。
|
||||
3. 点击页面上方的 "Settings"(设置)。
|
||||
4. 在左侧菜单中选择 "Actions"(操作)。
|
||||
5. 您将在页面上看到 "Runners"(运行器)部分。在这里,您应该能够找到一个 "New Runner"(创建 Runner)按钮。
|
||||
6. 点击 "New Runner"(创建 Runner)按钮,您将获得一个 RUNNER_REGISTRATION_TOKEN,复制它并妥善保存。
|
||||
|
@ -1,11 +1,11 @@
|
||||
name: Act runner
|
||||
name: Act Runner
|
||||
tags:
|
||||
- DevOps
|
||||
title: Gitea Actions 的 Runner
|
||||
description: Gitea Actions 的 Runner
|
||||
additionalProperties:
|
||||
key: act_runner
|
||||
name: Act runner
|
||||
name: Act Runner
|
||||
tags:
|
||||
- DevOps
|
||||
shortDescZh: Gitea Actions 的 Runner
|
||||
|
Loading…
Reference in New Issue
Block a user