From ecd0ae69dace4cccc68c5f12ba6adb458304a964 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Thu, 30 Apr 2026 00:17:05 +0200 Subject: [PATCH] ci: pin runner-image v2 (adds gcc for cgo, fixes go test -race) v1 lacked gcc, so 'go test -race' (in Makefile) failed in CI with 'go: -race requires cgo'. v2 of the runner image installs gcc, libc6-dev, and pkg-config. --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 46c4703..75e3fff 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: # Bespoke runner image (Ubuntu 24.04 + make + git + node + go via # actions/setup-go). See git.librete.ch/libretech/runner-image. container: - image: git.librete.ch/libretech/runner-image:v1 + image: git.librete.ch/libretech/runner-image:v2 timeout-minutes: 5 steps: - name: Checkout diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ca7346c..1592cd2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -34,7 +34,7 @@ jobs: # + perl + ssh, runner user pre-joined to docker gid 998 so the # auto-mounted /var/run/docker.sock is writable without --user root. container: - image: git.librete.ch/libretech/runner-image:v1 + image: git.librete.ch/libretech/runner-image:v2 timeout-minutes: 20 if: ${{ vars.DEPLOY_ENABLED == 'true' }} steps: