Skip to content

Commit 5a2bce4

Browse files
committed
[no-relnote] Set IMAGE_NAME in versions.mk
Signed-off-by: Evan Lezar <[email protected]>
1 parent 7eb9631 commit 5a2bce4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

versions.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always --abbrev=4
3030
GIT_COMMIT_SHORT ?= $(shell git rev-parse --short HEAD 2> /dev/null || echo "")
3131
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null || echo "${GIT_COMMIT}")
3232
SOURCE_DATE_EPOCH ?= $(shell git log -1 --format=%ct 2> /dev/null || echo "")
33+
34+
ifeq ($(IMAGE_NAME),)
35+
REGISTRY ?= nvidia
36+
IMAGE_NAME := $(REGISTRY)/container-toolkit
37+
endif
38+
39+
VERSION ?= $(LIB_VERSION)$(if $(LIB_TAG),-$(LIB_TAG))

0 commit comments

Comments
 (0)