Skip to content

Commit

Permalink
Merge pull request #50 from NVIDIA/remove-push-short
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 authored Oct 2, 2024
2 parents 2a470b1 + 7df53a0 commit 95378c7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions deployments/container/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,6 @@ else
include $(CURDIR)/deployments/container/multi-arch.mk
endif

# For the default push target we also push a short tag equal to the version.
# We skip this for the development release
DEVEL_RELEASE_IMAGE_VERSION ?= devel
PUSH_MULTIPLE_TAGS ?= true
ifeq ($(strip $(OUT_IMAGE_VERSION)),$(DEVEL_RELEASE_IMAGE_VERSION))
PUSH_MULTIPLE_TAGS = false
endif
ifeq ($(PUSH_MULTIPLE_TAGS),true)
push-$(DEFAULT_PUSH_TARGET): push-short
endif

push-%: DIST = $(*)
push-short: DIST = $(DEFAULT_PUSH_TARGET)


build-%: DIST = $(*)
build-%: DOCKERFILE_SUFFIX = $(*)
build-%: DOCKERFILE = $(CURDIR)/deployments/container/Dockerfile.$(DOCKERFILE_SUFFIX)

Expand Down

0 comments on commit 95378c7

Please sign in to comment.