All checks were successful
CodyOps Nucleus Builder / build-conteiner (pull_request) Successful in 36s
19 lines
345 B
Makefile
19 lines
345 B
Makefile
NAMESPACE:= codyops
|
|
REGISTRY:= gianet.us/codyops
|
|
IMAGE:= nucleus
|
|
|
|
.PHONY: init build setup deploy
|
|
|
|
init:
|
|
direnv allow .
|
|
|
|
setup:
|
|
npm run setup
|
|
|
|
build: setup
|
|
npm run build
|
|
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE) .
|
|
podman push $(REGISTRY)/$(IMAGE)
|
|
|
|
deploy:
|
|
kubectl -n $(NAMESPACE) rollout restart deployment/$(NAMESPACE)-$(IMAGE)
|