2026-10-18 17:29:16 +02:00
2026-10-18 17:38:09 +02:00
2026-10-18 17:27:06 +02:00
2026-10-18 17:27:06 +02:00

Debian package for the Gitea runner

Debian package for the Gitea Actions runner (amd64 only). Installs the binary, a systemd service, a gitea-runner user, state in /var/lib/gitea-runner and config in /etc/gitea-runner/.

Build

make                                  # default VERSION/REVISION from the Makefile
make VERSION=5.1.1 REVISION=2

The upstream binary is downloaded and verified against the release's checksums.txt.

Installation

sudo curl https://git.gansejunge.com/api/packages/utility/debian/repository.key -o /etc/apt/keyrings/gitea-utility.asc

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/gitea-utility.asc] https://git.gansejunge.com/api/packages/utility/debian any main" | sudo tee -a /etc/apt/sources.list.d/gitea.list

sudo apt update

Post installation

After running the installation on a new machine for the first time, first create a new runner in Site Administration -> Actions -> Runners, copy the code and then

sudo -u gitea-runner -H sh -c 'cd ~ && gitea-runner register \
  --config /etc/gitea-runner/config.yaml \
  --no-interactive \
  --instance https://git.gansejunge.com \
  --token YOUR_REGISTRATION_TOKEN \
  --name "$(hostname)" \
  --labels ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest'

  sudo systemctl start gitea-runner
S
Description
Debian package for the Gitea runner
Readme
37 KiB
0 Stars 2 Watchers 0 Forks
Languages
Shell 63.4%
Makefile 36.6%