Skip to content

Run GitHub Actions jobs on your own Docker host

Each queued job gets a fresh runner container that’s gone when the job ends

Read the docs
While no job is queued, no runner container exists. Each job gets a fresh container that is removed when the job ends.

Nothing runs while CI is idle

Every job starts from a clean container, so nothing leaks from one run into the next.

  1. 01Polls GitHubAsks every 30 s for jobs queued for your label, per repo.
  2. 02Starts one runnerRegisters a just-in-time runner and starts its container.
  3. 03Runs the jobThe runner takes exactly one job, then exits.
  4. 04Cleans upRemoves the container and records the result.
Runner containers while CI is idle, down from 8
0
Added before a job starts
30–45s
GitHub API calls for 8 repos, of 5,000
960/h

Measured with the shell script Tukang grew out of, on a Mac mini M4 running OrbStack.

Hold a job until your host is ready

A gate is any command you choose. The job starts when it prints go, and keeps what the command holds until the job ends. How the gate works →

TUKANG_GATE=ssh -i /run/secrets/gate_key lock@build-hostTUKANG_GATE_WAIT=50m
  • Prints go→ The job starts
  • Exits first→ The job fails with the command’s last error line
  • Job ends→ Tukang closes its stdin and lets it go

Tukang is Indonesian for a craftsman

It shows up for the job, does it, and leaves the workshop clean.