diff --git a/act_runner/0.2.10/data.yml b/act_runner/0.2.10/data.yml new file mode 100644 index 000000000..fddf5e17f --- /dev/null +++ b/act_runner/0.2.10/data.yml @@ -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 diff --git a/act_runner/0.2.10/docker-compose.yml b/act_runner/0.2.10/docker-compose.yml new file mode 100644 index 000000000..64045fb91 --- /dev/null +++ b/act_runner/0.2.10/docker-compose.yml @@ -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 diff --git a/act_runner/README.md b/act_runner/README.md new file mode 100644 index 000000000..a330241f4 --- /dev/null +++ b/act_runner/README.md @@ -0,0 +1,3 @@ +# act runner + +Act runner是一个基于[Gitea fork](https://gitea.com/gitea/act)的[Gitea](https://github.com/nektos/act)上的运行器。 diff --git a/act_runner/data.yml b/act_runner/data.yml new file mode 100644 index 000000000..c101cdfac --- /dev/null +++ b/act_runner/data.yml @@ -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 \ No newline at end of file diff --git a/act_runner/logo.png b/act_runner/logo.png new file mode 100644 index 000000000..b810ad1e3 Binary files /dev/null and b/act_runner/logo.png differ