1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Bump Go to v1.23

NOTE: api/nfd/go.mod is not bumped. There should be no need to force the
importers of the API to v1.23 (yet).
This commit is contained in:
Markus Lehtonen 2024-08-30 15:44:54 +03:00
parent 56c23fcceb
commit bf99c47458
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ IMAGE_BUILD_CMD ?= docker build
IMAGE_BUILD_EXTRA_OPTS ?= IMAGE_BUILD_EXTRA_OPTS ?=
IMAGE_PUSH_CMD ?= docker push IMAGE_PUSH_CMD ?= docker push
CONTAINER_RUN_CMD ?= docker run CONTAINER_RUN_CMD ?= docker run
BUILDER_IMAGE ?= golang:1.22-bookworm BUILDER_IMAGE ?= golang:1.23-bookworm
BASE_IMAGE_FULL ?= debian:bookworm-slim BASE_IMAGE_FULL ?= debian:bookworm-slim
BASE_IMAGE_MINIMAL ?= scratch BASE_IMAGE_MINIMAL ?= scratch

View file

@ -2,7 +2,7 @@
BASE_IMAGE_MINIMAL="gcr.io/distroless/base" BASE_IMAGE_MINIMAL="gcr.io/distroless/base"
BASE_IMAGE_FULL="debian:bullseye-slim" BASE_IMAGE_FULL="debian:bullseye-slim"
BUILDER_IMAGE="golang:1.22-bullseye" BUILDER_IMAGE="golang:1.23-bookworm"
HOSTMOUNT_PREFIX="/host-" HOSTMOUNT_PREFIX="/host-"
IMAGE_TAG_NAME = os.getenv('IMAGE_TAG_NAME', "master") IMAGE_TAG_NAME = os.getenv('IMAGE_TAG_NAME', "master")
IMAGE_REGISTRY = os.getenv('IMAGE_REGISTRY', "gcr.io/k8s-staging-nfd") IMAGE_REGISTRY = os.getenv('IMAGE_REGISTRY', "gcr.io/k8s-staging-nfd")

2
go.mod
View file

@ -1,6 +1,6 @@
module sigs.k8s.io/node-feature-discovery module sigs.k8s.io/node-feature-discovery
go 1.22.2 go 1.23.0
require ( require (
github.com/fsnotify/fsnotify v1.7.0 github.com/fsnotify/fsnotify v1.7.0