Files

21 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2026-06-29 21:56:12 -05:00
# labels.example.env — runner label configuration reference
#
# Labels tell act_runner which GitHub Actions runner environments to emulate.
# Format: <label>:<scheme>://<image>
# docker:// — run the job step inside the specified container image
# host — run the job step directly on the runner host (no inner container)
#
# Set GITEA_RUNNER_LABELS in .env or docker-compose to one of the examples below.
# ─── Match the ubuntu-latest label used in most GitHub Actions workflows ────
GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bullseye
# ─── Multiple labels (comma-separated) ─────────────────────────────────────
# GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bullseye,ubuntu-22.04:docker://node:20-bullseye,host:host
# ─── Host-only mode (no inner Docker containers) ────────────────────────────
# GITEA_RUNNER_LABELS=host:host
# ─── Custom image on self-hosted registry ───────────────────────────────────
# GITEA_RUNNER_LABELS=ubuntu-latest:docker://registry.alwisp.com/ci/runner-base:latest