From eb25807affba15397851e08f2e848245c016ce7d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 7 Oct 2026 19:06:58 +0900 Subject: internal/workflows: use custom runner image This avoids having to reinstall packages on every run. Signed-off-by: Ophestra --- internal/workflows/doc.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/workflows/doc.go') 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 -- cgit v1.3.1