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

tilt: sync up builder go version with project go.mod

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
This commit is contained in:
Feruzjon Muyassarov 2024-08-07 15:42:14 +03:00
parent d38e116667
commit a7d8448eb6
No known key found for this signature in database
GPG key ID: A246414627EEC4F9

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.19-bullseye" BUILDER_IMAGE="golang:1.22-bullseye"
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")
@ -12,6 +12,7 @@ IMAGE_NAME = os.getenv('IMAGE_NAME', "node-feature-discovery")
# registry.k8s.io/nfd/node-feature-discovery:master # registry.k8s.io/nfd/node-feature-discovery:master
IMAGE = "/".join([IMAGE_REGISTRY, IMAGE_NAME]) IMAGE = "/".join([IMAGE_REGISTRY, IMAGE_NAME])
TAGGED_IMAGE = ":".join([IMAGE, IMAGE_TAG_NAME]) TAGGED_IMAGE = ":".join([IMAGE, IMAGE_TAG_NAME])
allow_k8s_contexts('kubernetes-admin@kubernetes')
# Builds container image # Builds container image
def build_image(): def build_image():