Skip to content

Commit

Permalink
fix: image tag
Browse files Browse the repository at this point in the history
Signed-off-by: Prateek Chandra <[email protected]>
  • Loading branch information
pchandra19 committed Nov 4, 2024
1 parent 22edb0b commit 937a674
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ endif
ROOT_DIR:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
CHART_YAML:=${ROOT_DIR}/deploy/helm/charts/Chart.yaml

ifneq (${IMAGE_TAG}, )
ifeq (${IMAGE_TAG}, )
IMAGE_TAG := $(shell awk -F': ' '/^version:/ {print $$2}' $(CHART_YAML))
echo ${IMAGE_TAG}
export IMAGE_TAG
endif

ifneq (${RELEASE_TAG}, )
ifeq (${RELEASE_TAG}, )
IMAGE_TAG=${RELEASE_TAG:v%=%}
endif

Expand Down

0 comments on commit 937a674

Please sign in to comment.