feat: add act_runner and enable Gitea Actions #22

Merged
gortium merged 2 commits from feat/act-runner into master 2026-05-11 02:38:41 +00:00
Collaborator

Summary

Enable Gitea Actions and add the act_runner container for CI builds.

Changes

versioncontrol/compose.yml

Gitea service:

  • Added GITEA__actions__ENABLED=true
  • Added GITEA__actions__DEFAULT_ACTIONS_URL=off (required for OFFLINE_MODE)

New act_runner service:

  • Polls Gitea for CI jobs and executes them via Docker
  • Labels: ubuntu-latest mapped to catthehacker/ubuntu:full-22.04
  • Token via env var $GITEA_RUNNER_TOKEN

Setup

After deploying, register the runner:

  1. Go to https://code.lazyworkhorse.net/admin/actions/runners -> Create registration token
  2. Set the token in .env or directly in the compose file:
    GITEA_RUNNER_TOKEN=your_token_here
    
  3. Restart the versioncontrol stack:
    docker compose -f versioncontrol/compose.yml up -d
    

Dependencies

  • Depends on: feat/gitea-actions PR #21 (the workflow files)
  • The workflow files in .gitea/workflows/ need the runner to be online before they trigger
## Summary Enable Gitea Actions and add the act_runner container for CI builds. ## Changes ### versioncontrol/compose.yml **Gitea service:** - Added `GITEA__actions__ENABLED=true` - Added `GITEA__actions__DEFAULT_ACTIONS_URL=off` (required for OFFLINE_MODE) **New act_runner service:** - Polls Gitea for CI jobs and executes them via Docker - Labels: `ubuntu-latest` mapped to `catthehacker/ubuntu:full-22.04` - Token via env var `$GITEA_RUNNER_TOKEN` ## Setup After deploying, register the runner: 1. Go to `https://code.lazyworkhorse.net/admin/actions/runners` -> Create registration token 2. Set the token in `.env` or directly in the compose file: ``` GITEA_RUNNER_TOKEN=your_token_here ``` 3. Restart the versioncontrol stack: ``` docker compose -f versioncontrol/compose.yml up -d ``` ## Dependencies - Depends on: `feat/gitea-actions` PR #21 (the workflow files) - The workflow files in `.gitea/workflows/` need the runner to be online before they trigger
Hermes added 1 commit 2026-05-11 01:38:33 +00:00
Hermes added 1 commit 2026-05-11 02:15:48 +00:00
gortium merged commit 99ac8b5dcd into master 2026-05-11 02:38:41 +00:00
gortium deleted branch feat/act-runner 2026-05-11 02:38:42 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/compose#22
No description provided.