From 745554f9266fec3f3376267c6d88d214af77be45 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 6 Feb 2025 19:59:20 +0100 Subject: [PATCH] fix(ci): update golang image to use amd64 architecture Updates the golang image in the GitLab CI configuration to a more appropriate amd64 version, ensuring compatibility and stability for the build process. The change addresses issues related to architecture mismatch and improves the reliability of the CI pipeline. --- .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 ./...