Files
runneros/mkosi.prepare
T
Job79andClaude Opus 5.5 d4eebeb01f
os / os (push) Failing after 45s
job / job (push) Failing after 1m3s
mkosi-based Gitea runner OS and job image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:43:46 +01:00

12 lines
385 B
Bash
Executable File

#!/bin/sh
# Installs the Gitea runner from gitea.com.
set -eu
v=5.4.1
f=gitea-runner-$v-linux-amd64.xz
cd "$(mktemp -d)"
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$v/$f"
curl -fsSLO "https://gitea.com/gitea/runner/releases/download/v$v/$f.sha256"
sha256sum -c "$f.sha256"
xz -dc "$f" > "$BUILDROOT/usr/bin/gitea-runner"
chmod 755 "$BUILDROOT/usr/bin/gitea-runner"