nucleus/Makefile
Luciano Giacchetta d91c1d13ff Fix 1 - migrar-js-a-ts (#2)
Reviewed-on: #2
Co-authored-by: Luciano Giacchetta <giacchetta-@outlook.com>
Co-committed-by: Luciano Giacchetta <giacchetta-@outlook.com>
2025-07-03 17:52:58 -03:00

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)