ver 0.1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
@@ -0,0 +1,45 @@
|
||||
# runner.example.yaml — act_runner configuration template
|
||||
# Copy to config/runner.yaml and adjust for your environment.
|
||||
# This file is generated/modified by `act_runner register`. Fields below
|
||||
# reflect commonly tuned settings; see act_runner docs for the full reference.
|
||||
|
||||
log:
|
||||
# Log verbosity: trace, debug, info, warn, error, fatal
|
||||
level: info
|
||||
|
||||
runner:
|
||||
# How many jobs this runner can execute concurrently
|
||||
capacity: 1
|
||||
# Extra environment variables injected into every job
|
||||
envs: {}
|
||||
# Maximum runtime for a single job
|
||||
timeout: 3h0m0s
|
||||
# Allow insecure (non-TLS) connections to the Gitea instance
|
||||
insecure: false
|
||||
# Fetch interval for new jobs
|
||||
fetch_timeout: 5s
|
||||
fetch_interval: 2s
|
||||
|
||||
cache:
|
||||
# Enable the built-in cache server (speeds up actions/cache steps)
|
||||
enabled: true
|
||||
dir: ""
|
||||
host: ""
|
||||
port: 0
|
||||
external_server: ""
|
||||
|
||||
container:
|
||||
# Docker network mode for job containers
|
||||
network: bridge
|
||||
# Run job containers with --privileged (avoid unless required)
|
||||
privileged: false
|
||||
# Additional docker run options (space-separated)
|
||||
options: ""
|
||||
# Override parent directory for job workspaces
|
||||
workdir_parent: ""
|
||||
# Uncomment to use a custom Docker daemon socket
|
||||
# docker_host: unix:///var/run/docker.sock
|
||||
|
||||
host:
|
||||
# Override parent directory for host-mode workspaces
|
||||
workdir_parent: ""
|
||||
Reference in New Issue
Block a user