#1 - Mover push al mismo step de build
Some checks failed
CodyOps Core Builder / build-conteiner (pull_request) Failing after 31s

This commit is contained in:
Luciano Giacchetta 2025-06-10 19:02:14 -03:00
parent d6cfa802ea
commit ad9267d91a

View File

@ -2,7 +2,7 @@ REGISTRY:= gianet.us/codyops
IMAGE:= core
COUNTRIES:= ar br
.PHONY: init build setup push $(addprefix step-,$(COUNTRIES))
.PHONY: init build setup $(addprefix step-,$(COUNTRIES))
init:
direnv allow .
@ -20,6 +20,4 @@ $(addprefix step-,$(COUNTRIES)):
export ASTRO_GTM=${ASTRO_GTM_$(shell echo $(patsubst step-%,%,$@) | tr '[:lower:]' '[:upper:]')} && \
npx astro build --force
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@) .
push:
podman push $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@)
podman push $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@)