From 1eda0b44f3aafdbac5ec8fd71864132524fff0e0 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Thu, 30 Jan 2025 02:27:19 +0000 Subject: [PATCH] test: fix trivy action failure due to CVE-2024-45336 --- .github/workflows/trivy.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 917f3319..87a5ecb6 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -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: | diff --git a/Makefile b/Makefile index f86679d4..81c6a366 100644 --- a/Makefile +++ b/Makefile @@ -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