From b6f20b7ae0d6c84a92574aa19ce13051b3d16b70 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 6 Feb 2025 19:57:01 +0100 Subject: [PATCH] fix(ci): update go image to amd64 architecture version Updates the Go image in the CI configuration to use the amd64 architecture version for better compatibility and performance. This change ensures consistency across stages that utilize Go tools, particularly for vulnerability testing. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 303164c..e786566 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ include: - project: unboundsoftware/ci-templates file: Pre-Commit-Go.gitlab-ci.yml -image: golang:1.23.6@sha256:927112936d6b496ed95f55f362cc09da6e3e624ef868814c56d55bd7323e0959 +image: amd64/golang:1.23.6@sha256:c9ea99470c05ab0741496b239028480a072934a7a0286809740b3d77cb3ae011 stages: - deps @@ -30,7 +30,7 @@ test: vulnerabilities: stage: test - 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 ./...