#1 - Mover push al mismo step de build
Some checks failed
CodyOps Core Builder / build-conteiner (pull_request) Failing after 31s
Some checks failed
CodyOps Core Builder / build-conteiner (pull_request) Failing after 31s
This commit is contained in:
parent
d6cfa802ea
commit
ad9267d91a
4
Makefile
4
Makefile
@ -2,7 +2,7 @@ REGISTRY:= gianet.us/codyops
|
|||||||
IMAGE:= core
|
IMAGE:= core
|
||||||
COUNTRIES:= ar br
|
COUNTRIES:= ar br
|
||||||
|
|
||||||
.PHONY: init build setup push $(addprefix step-,$(COUNTRIES))
|
.PHONY: init build setup $(addprefix step-,$(COUNTRIES))
|
||||||
|
|
||||||
init:
|
init:
|
||||||
direnv allow .
|
direnv allow .
|
||||||
@ -20,6 +20,4 @@ $(addprefix step-,$(COUNTRIES)):
|
|||||||
export ASTRO_GTM=${ASTRO_GTM_$(shell echo $(patsubst step-%,%,$@) | tr '[:lower:]' '[:upper:]')} && \
|
export ASTRO_GTM=${ASTRO_GTM_$(shell echo $(patsubst step-%,%,$@) | tr '[:lower:]' '[:upper:]')} && \
|
||||||
npx astro build --force
|
npx astro build --force
|
||||||
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@) .
|
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@) .
|
||||||
|
|
||||||
push:
|
|
||||||
podman push $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@)
|
podman push $(REGISTRY)/$(IMAGE):$(patsubst step-%,%,$@)
|
Loading…
x
Reference in New Issue
Block a user