nucleus/Makefile
Luciano Giacchetta 9528126c41
All checks were successful
CodyOps Nucleus Builder / build-conteiner (pull_request) Successful in 36s
#1 - Agregar deploy automatico
2025-07-03 17:51:04 -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)