Skip to content

Commit

Permalink
Fix overriding of DOCKER_IMG_VERSION in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Pulkit Jain <pulkit.jain@broadcom.com>
  • Loading branch information
jainpulkit22 committed Jun 20, 2024
1 parent 28ed3c9 commit dc8098b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ all: build

include versioning.mk

BUILD_TAG :=
ifndef CUSTOM_BUILD_TAG
BUILD_TAG = $(shell build/images/build-tag.sh)
else
BUILD_TAG = $(CUSTOM_BUILD_TAG)
DOCKER_IMG_VERSION = $(CUSTOM_BUILD_TAG)
endif

LDFLAGS += $(VERSION_LDFLAGS)

UNAME_S := $(shell uname -s)
Expand Down

0 comments on commit dc8098b

Please sign in to comment.