nucleus/Makefile

19 lines
345 B
Makefile
Raw Permalink Normal View History

2025-07-03 17:51:04 -03:00
NAMESPACE:= codyops
REGISTRY:= gianet.us/codyops
IMAGE:= nucleus
2025-07-03 17:51:04 -03:00
.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)
2025-07-03 17:51:04 -03:00
deploy:
kubectl -n $(NAMESPACE) rollout restart deployment/$(NAMESPACE)-$(IMAGE)