mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
chore: added "helm" job in Makefile to build & push helm chart
This commit is contained in:
parent
8ac548bf6f
commit
b76861489e
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -46,6 +46,13 @@ docker: ## Create a new Docker image and publish it
|
|||
docker build -t umap/umap:${VERSION} .
|
||||
docker push umap/umap:${VERSION}
|
||||
|
||||
.PHONY: helm
|
||||
helm: ## Build the helm chart and publish it
|
||||
$(eval VERSION=$(shell hatch version))
|
||||
$(eval PACKAGE=$(shell helm package --app-version ${VERSION} ./charts/umap | grep "Successfully packaged" | awk '{print $$NF}'))
|
||||
@echo "Successfully packaged helm chart in: ${PACKAGE}"
|
||||
helm push ${PACKAGE} oci://registry-1.docker.io/umap
|
||||
|
||||
.PHONY: build
|
||||
build: ## Build the Python package before release
|
||||
@hatch build --clean
|
||||
|
|
Loading…
Reference in a new issue