fix: download runner act images from ghcr.io by default

to avoid docker.io pull rate limits
This commit is contained in:
sebthom 2025-05-26 20:52:59 +02:00
parent 7b69551e99
commit 8989915c0d
2 changed files with 5 additions and 5 deletions

View File

@ -138,7 +138,7 @@ The following environment variables are referenced in the `/opt/config.template.
Name|Default Value|Description Name|Default Value|Description
----|-------------|----------- ----|-------------|-----------
GITEA_RUNNER_LABELS|`<empty>`|Comma-separated list of labels in the format of `label[:schema[:args]]`.<br>If not specified the following labels are used<ol><li>`ubuntu-latest:docker://catthehacker/ubuntu:act-latest`<li>`ubuntu-24.04:docker://catthehacker/ubuntu:act-24.04<li>`ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04`<li>`ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04`</ol> GITEA_RUNNER_LABELS|`<empty>`|Comma-separated list of labels in the format of `label[:schema[:args]]`.<br>If not specified the following labels are used<ol><li>`ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest`<li>`ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04<li>`ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04`<li>`ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04`</ol>
GITEA_RUNNER_LOG_LEVEL|`info`|The level of logging, can be trace, debug, info, warn, error, fatal GITEA_RUNNER_LOG_LEVEL|`info`|The level of logging, can be trace, debug, info, warn, error, fatal
GITEA_RUNNER_ENV_FILE|`/data/.env`|Extra environment variables to run jobs from a file GITEA_RUNNER_ENV_FILE|`/data/.env`|Extra environment variables to run jobs from a file
GITEA_RUNNER_FETCH_TIMEOUT|`5s`|The timeout for fetching the job from the Gitea instance GITEA_RUNNER_FETCH_TIMEOUT|`5s`|The timeout for fetching the job from the Gitea instance

View File

@ -184,10 +184,10 @@ ENV \
GITEA_RUNNER_NAME='' \ GITEA_RUNNER_NAME='' \
GITEA_RUNNER_LABELS='' \ GITEA_RUNNER_LABELS='' \
GITEA_RUNNER_LABELS_DEFAULT='\ GITEA_RUNNER_LABELS_DEFAULT='\
ubuntu-latest:docker://catthehacker/ubuntu:act-latest,\ ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,\
ubuntu-24.04:docker://catthehacker/ubuntu:act-24.04,\ ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04,\
ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04,\ ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04,\
ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04' \ ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04' \
GITEA_RUNNER_UID=1000 \ GITEA_RUNNER_UID=1000 \
GITEA_RUNNER_GID=1000 \ GITEA_RUNNER_GID=1000 \
# #