diff options
Diffstat (limited to 'internal/workflows/doc.go')
| -rw-r--r-- | internal/workflows/doc.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/workflows/doc.go b/internal/workflows/doc.go index 2227e50f..123bf7c1 100644 --- a/internal/workflows/doc.go +++ b/internal/workflows/doc.go @@ -53,7 +53,6 @@ The container can be specified via docker-compose: environment: CONFIG_FILE: /config.yaml GITEA_INSTANCE_URL: "https://git.gensokyo.uk" - GITEA_RUNNER_LABELS: "rosa:docker://docker.gitea.com/runner-images:ubuntu-latest" GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" GITEA_RUNNER_NAME: "${RUNNER_NAME}" @@ -80,6 +79,10 @@ Before starting the container, configure act_runner via config.yaml: valid_volumes: - /var/lib/rosa + runner: + labels: + - 'rosa:docker://git.gensokyo.uk/rosa/runner:latest' + where /var/lib/rosa is the absolute pathname of the cache directory in the init namespace. Setting MBF_POISON_OPEN enables cmd/mbf to run as root. It is also a good idea here to set runner.capacity to reflect the capacity of the guest, so |
