Add CI using Gitea actions

This commit is contained in:
2023-09-01 03:47:02 +02:00
parent 0af355843d
commit 2006b9733e
4 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ services:
restart: unless-stopped
environment:
CONFIG_FILE: /opt/runner-config.yaml
GITEA_INSTANCE_URL: "http://gitea:3000"
GITEA_INSTANCE_URL: "https://git.pbrinkmeier.de"
GITEA_RUNNER_REGISTRATION_TOKEN: "${GITEA_RUNNER_REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "basic-bitchboy"
volumes:
+2
View File
@@ -28,6 +28,8 @@ runner:
# Like: ["macos-arm64:host", "ubuntu-latest:docker://node:16-bullseye", "ubuntu-22.04:docker://node:16-bullseye"]
# If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `deamon`, will use labels in `.runner` file.
# Some (most?) GitHub actions use node for scripting, so just using
# ubuntu:22.04 here is not enough.
labels:
- "ubuntu-22.04:docker://node:16-bullseye"