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 # Bespoke runner image (Ubuntu 24.04 + make + git + node + go via
# actions/setup-go). See git.librete.ch/libretech/runner-image. # actions/setup-go). See git.librete.ch/libretech/runner-image.
container: container:
image: git.librete.ch/libretech/runner-image:v1 image: git.librete.ch/libretech/runner-image:v2
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: Checkout - name: Checkout
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# + perl + ssh, runner user pre-joined to docker gid 998 so the # + perl + ssh, runner user pre-joined to docker gid 998 so the
# auto-mounted /var/run/docker.sock is writable without --user root. # auto-mounted /var/run/docker.sock is writable without --user root.
container: container:
image: git.librete.ch/libretech/runner-image:v1 image: git.librete.ch/libretech/runner-image:v2
timeout-minutes: 20 timeout-minutes: 20
if: ${{ vars.DEPLOY_ENABLED == 'true' }} if: ${{ vars.DEPLOY_ENABLED == 'true' }}
steps: steps: