test: fix trivy action failure due to CVE-2024-45336

This commit is contained in:
andyzhangx 2025-01-30 02:27:19 +00:00
parent 14de644bfe
commit 1eda0b44f3
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23.1
go-version: 1.23.5
- name: Build an image from Dockerfile
run: |

View File

@ -27,7 +27,7 @@ include release-tools/build.make
GIT_COMMIT = $(shell git rev-parse HEAD)
BUILD_DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
IMAGE_VERSION ?= v4.10.0
IMAGE_VERSION ?= v4.11.0
LDFLAGS = -X ${PKG}/pkg/nfs.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/nfs.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/nfs.buildDate=${BUILD_DATE}
EXT_LDFLAGS = -s -w -extldflags "-static"
# Use a custom version for E2E tests if we are testing in CI