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:
+2
-2
@@ -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 ./...
|
||||
|
||||
Reference in New Issue
Block a user