From e20189b7eafe0d9d6c35d64c5db50ca9ef62b025 Mon Sep 17 00:00:00 2001 From: sebthom Date: Mon, 11 Mar 2024 21:32:56 +0100 Subject: [PATCH] use catthehacker/ubuntu:act instead of ubuntu:runner. Fixes #45 --- README.md | 2 +- image/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 994bcbf..114ee78 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Name|Default Value|Description ----|-------------|----------- GITEA_INSTANCE_INSECURE|`false`|It `true` don't verify the TLS certificate of the Gitea instance GITEA_RUNNER_NAME|``|If not specified the container's hostname is used -GITEA_RUNNER_LABELS|``|Comma-separated list of labels in the format of `label[:schema[:args]]`. If not specified the following labels are used `ubuntu-latest:docker://catthehacker/ubuntu:runner-22.04,ubuntu-22.04:docker://catthehacker/ubuntu:runner-22.04,ubuntu-20.04:docker://catthehacker/ubuntu:runner-20.04` +GITEA_RUNNER_LABELS|``|Comma-separated list of labels in the format of `label[:schema[:args]]`. If not specified the following labels are used `ubuntu-latest:docker://catthehacker/ubuntu:act-22.04,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04` GITEA_RUNNER_REGISTRATION_FILE|`/data/.runner`|The JSON file that holds the result from the runner registration with the Gitea instance GITEA_RUNNER_REGISTRATION_TIMEOUT|`30`|In case of failure, registration is retried until this timeout in seconds is reached GITEA_RUNNER_REGISTRATION_RETRY_INTERVAL|`5`|Wait period in seconds between registration retries diff --git a/image/Dockerfile b/image/Dockerfile index c72b95d..93a6c7d 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -180,9 +180,9 @@ ENV \ GITEA_RUNNER_NAME='' \ GITEA_RUNNER_LABELS='' \ GITEA_RUNNER_LABELS_DEFAULT='\ -ubuntu-latest:docker://catthehacker/ubuntu:runner-22.04,\ -ubuntu-22.04:docker://catthehacker/ubuntu:runner-22.04,\ -ubuntu-20.04:docker://catthehacker/ubuntu:runner-20.04' \ +ubuntu-latest:docker://catthehacker/ubuntu:act-22.04,\ +ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04,\ +ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04' \ GITEA_RUNNER_UID=1000 \ GITEA_RUNNER_GID=1000 \ #