What is Forgejo Runner?
Forgejo Actions speaks GitHub Actions workflow syntax, which means the ecosystem muscle memory transfers - but the runners are yours to provide. This template deploys one in host mode: jobs execute as shell steps in the runner container, no Docker daemon required.
It pairs perfectly with the catalogue’s forgejo template (point FORGEJO_URL at http://forgejo:5000 and the whole forge + CI story lives in one project) - and it serves Codeberg too, since Codeberg runs Forgejo and lets you register your own runners.
Registration uses the v12 declarative flow: create the runner in the UI, copy its UUID and token, deploy. The runner connects outbound; no ingress, no public port, nothing to firewall.
What you get
- GitHub-Actions-compatible workflow syntax
- Host mode: socket-less shell execution in this container
- Serves self-hosted Forgejo AND codeberg.org
- v12 declarative registration (UUID + token from the UI)
- One runner can connect to multiple instances
- Completes the forge story next to the forgejo template
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
runner | Forgejo Actions runner, outbound connection | no - no ingress needed |
Before you deploy
RUNNER_UUID / RUNNER_TOKENfrom the runner you create in Forgejo/Codeberg (Settings > Actions > Runners)
FORGEJO_URLhttps://codeberg.org, or http://forgejo:5000 for the in-project forge
Sizing and billing
The runner itself is light; jobs set the budget. Extend the Dockerfile with the toolchains your workflows expect - host mode runs them directly.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 4.88 GiB of volumes cost $0.15 per GiB a month ($0.73/mo) for as long as they exist. One workspace can use both. See pricing
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Does this work with Codeberg?
Yes - Codeberg runs Forgejo and supports user/org/repo-level self-hosted runners. Create the runner under your Codeberg settings, drop the UUID and token here, and your Codeberg workflows run on your own compute.
Will my GitHub Actions workflows just run?
Mostly - Forgejo Actions implements the workflow syntax and most actions from the ecosystem work. Jobs run with the host label here, so container: jobs and Docker actions need the usual socket-less substitutions (kaniko/buildah for image builds).
Forgejo runner or Gitea act_runner?
Same lineage, matching governance choice: this catalogue ships Forgejo (the forge) so it ships the Forgejo runner. Gitea’s act_runner is configured almost identically (env-based registration) if you run Gitea instead.