mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
[no-relnote] Define golang version in Dockefile
This change adds logic to extract the golang version from a Dockefile. This allows us to trigger golang updates using dependabot. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -21,7 +21,7 @@ LIB_TAG := rc.2
|
||||
PACKAGE_VERSION := $(LIB_VERSION)$(if $(LIB_TAG),~$(LIB_TAG))
|
||||
PACKAGE_REVISION := 1
|
||||
|
||||
GOLANG_VERSION := 1.22.1
|
||||
GOLANG_VERSION := $(shell ./hack/golang-version.sh)
|
||||
|
||||
BUILDIMAGE_TAG ?= devel-go$(GOLANG_VERSION)
|
||||
BUILDIMAGE ?= ghcr.io/nvidia/k8s-test-infra:$(BUILDIMAGE_TAG)
|
||||
|
||||
Reference in New Issue
Block a user