Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 45s

This commit is contained in:
j
2025-12-17 23:16:47 +13:00
parent ad6b442ba2
commit 8194500a38
2 changed files with 4 additions and 1 deletions

View File

@@ -7,7 +7,8 @@ ACT_RUNNER_VERSION="0.2.11"
GITEA_URL="https://gitea.jde.nz" GITEA_URL="https://gitea.jde.nz"
GITEA_TOKEN="GITEA_TOKEN" GITEA_TOKEN="GITEA_TOKEN"
GITEA_RUNNER_NAME="${SERVER}-${SERVICE}" GITEA_RUNNER_NAME="${SERVER}-${SERVICE}"
GITEA_RUNNER_LABELS="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" GITEA_RUNNER_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,linux/amd64:docker://gitea/runner-images:ubuntu-latest,linux/x86_64:docker://gitea/runner-images:ubuntu-latest,x86_64:docker://gitea/runner-images:ubuntu-latest,amd64:docker://gitea/runner-images:ubuntu-latest,amd:docker://gitea/runner-images:ubuntu-latest,native:docker://gitea/runner-images:ubuntu-latest"
CONTAINER_NAME="gitea-runner-${SERVICE}" CONTAINER_NAME="gitea-runner-${SERVICE}"

View File

@@ -12,6 +12,8 @@ DOCKER_RUN_CMD="docker run -d \
--name ${CONTAINER_NAME} \ --name ${CONTAINER_NAME} \
-e GITEA_INSTANCE_URL=${GITEA_URL} \ -e GITEA_INSTANCE_URL=${GITEA_URL} \
-e GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_TOKEN} \ -e GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_TOKEN} \
-e GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME} \
-e GITEA_RUNNER_LABELS=${GITEA_RUNNER_LABELS} \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v ${GITEA_RUNNER_DIRECTORY}:/data \ -v ${GITEA_RUNNER_DIRECTORY}:/data \
gitea/act_runner:nightly" gitea/act_runner:nightly"