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.
This commit is contained in:
2025-02-06 19:59:20 +01:00
parent a6f00992f9
commit 745554f926
+2 -2
View File
@@ -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 ./...