From 14d3733bf51422b039db7ee39ae8264f03e696d7 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Wed, 12 Feb 2025 13:50:46 +0100 Subject: [PATCH] fix(ci): update golang image to improve compatibility Changes the golang image used in the build and check stages from a generic image to the amd64 variant. This ensures better compatibility with the tools and libraries being used in the pipeline. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dafc9c..c02cc04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ variables: check: stage: .pre - image: golang:1.23.6@sha256:927112936d6b496ed95f55f362cc09da6e3e624ef868814c56d55bd7323e0959 + image: amd64/golang:1.23.6@sha256:c9ea99470c05ab0741496b239028480a072934a7a0286809740b3d77cb3ae011 script: - go install mvdan.cc/gofumpt@latest - go install golang.org/x/tools/cmd/goimports@latest @@ -38,7 +38,7 @@ build: vulnerabilities: stage: build - image: golang:1.23.6@sha256:927112936d6b496ed95f55f362cc09da6e3e624ef868814c56d55bd7323e0959 + image: amd64/golang:1.23.6@sha256:c9ea99470c05ab0741496b239028480a072934a7a0286809740b3d77cb3ae011 script: - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck ./...