Back to articles
Gitea Actions Has a Free API — Heres How to Self-Host GitHub Actions
How-ToDevOps

Gitea Actions Has a Free API — Heres How to Self-Host GitHub Actions

via Dev.to DevOpsAlex Spinov

Gitea Actions is a CI/CD system compatible with GitHub Actions workflows — self-hosted, free, and runs the same YAML files. Your existing .github/workflows just work. Why Gitea Actions? GitHub Actions compatible : Same YAML syntax Self-hosted : Your server, your data Free : No per-minute billing Lightweight : Runs on a $5 VPS Built into Gitea : No separate CI service Act runner : Use the same runner locally Enable Gitea Actions # app.ini [actions] ENABLED = true Register a Runner # Install act_runner wget https://gitea.com/gitea/act_runner/releases/latest/act_runner-linux-amd64 chmod +x act_runner-linux-amd64 # Register with Gitea instance ./act_runner-linux-amd64 register \ --instance https://gitea.example.com \ --token YOUR_REGISTRATION_TOKEN \ --name my-runner # Start the runner ./act_runner-linux-amd64 daemon Same GitHub Actions YAML # .gitea/workflows/ci.yml (or .github/workflows/ci.yml) name : CI on : push : branches : [ main ] pull_request : jobs : test : runs-on : ubuntu-latest

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
7 views

Related Articles