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.
This commit is contained in:
2025-02-06 19:57:01 +01:00
parent c009f3d87c
commit b6f20b7ae0
+2 -2
View File
@@ -5,7 +5,7 @@ include:
- project: unboundsoftware/ci-templates - project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml file: Pre-Commit-Go.gitlab-ci.yml
image: golang:1.23.6@sha256:927112936d6b496ed95f55f362cc09da6e3e624ef868814c56d55bd7323e0959 image: amd64/golang:1.23.6@sha256:c9ea99470c05ab0741496b239028480a072934a7a0286809740b3d77cb3ae011
stages: stages:
- deps - deps
@@ -30,7 +30,7 @@ test:
vulnerabilities: vulnerabilities:
stage: test stage: test
image: golang:1.23.6@sha256:927112936d6b496ed95f55f362cc09da6e3e624ef868814c56d55bd7323e0959 image: amd64/golang:1.23.6@sha256:c9ea99470c05ab0741496b239028480a072934a7a0286809740b3d77cb3ae011
script: script:
- go install golang.org/x/vuln/cmd/govulncheck@latest - go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./... - govulncheck ./...