feat:添加act_runner到列表 (#1431)

This commit is contained in:
okxlin 2024-05-20 11:35:15 +08:00 committed by GitHub
parent 5be0c0e915
commit 366fb23ef2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 76 additions and 0 deletions

View File

@ -0,0 +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

View File

@ -0,0 +1,23 @@
services:
act_runner:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
#- ./data/config.yaml:/config.yaml # 可选配置
- ./data/data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
#- CONFIG_FILE=/config.yaml
- GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}
- 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

View File

@ -0,0 +1,3 @@
# act runner
Act runner是一个基于[Gitea fork](https://gitea.com/gitea/act)的[Gitea](https://github.com/nektos/act)上的运行器。

19
apps/act_runner/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Act runner
tags:
- DevOps
title: Gitea Actions 的 Runner
description: Gitea Actions 的 Runner
additionalProperties:
key: act_runner
name: Act runner
tags:
- DevOps
shortDescZh: Gitea Actions 的 Runner
shortDescEn: A runner for Gitea based on Gitea fork of act
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://gitea.com/gitea/act_runner
github: https://gitea.com/gitea/act_runner
document: https://docs.gitea.com/next/usage/actions/act-runner

BIN
apps/act_runner/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB