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.
This commit is contained in:
2026-04-30 00:17:05 +02:00
parent 942a888242
commit ecd0ae69da
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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: