Skip to content

Commit

Permalink
change image tar in chart
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 authored and kmesh-bot committed Oct 12, 2024
1 parent dfe05bb commit 9e3c04a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ helm-package.%: # Package Helm chart
$(eval COMMAND := $(word 1,$(subst ., ,$*)))
$(eval CHART_NAME := $(COMMAND))
helm lint $(CHARTS_FOLDER)/${CHART_NAME}
sed -i "s/tag: latest/tag: ${CHART_VERSION}/g" $(CHARTS_FOLDER)/${CHART_NAME}/values.yaml
helm package $(CHARTS_FOLDER)/${CHART_NAME} --app-version ${VERSION} --version ${CHART_VERSION} --destination ${CHART_OUTPUT_DIR}/
git checkout -- $(CHARTS_FOLDER)/${CHART_NAME}/values.yaml

.PHONY: helm-push.%
helm-push.%: helm-package.%
Expand Down

0 comments on commit 9e3c04a

Please sign in to comment.