Initial commit
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
BRANCH ?= master
|
||||
|
||||
build-app:
|
||||
docker build app --tag quay.csssr.cloud/csssr/test-app:$(BRANCH)
|
||||
docker push quay.csssr.cloud/csssr/test-app:$(BRANCH)
|
||||
|
||||
HELM ?= helm3
|
||||
|
||||
deploy:
|
||||
$(HELM) upgrade --install my-app-$(BRANCH) chart --set image.tag=$(BRANCH) --set ingress.host=$(BRANCH).my-app.com
|
Reference in New Issue
Block a user