#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
6
Makefile
6
Makefile
@ -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-%,%,$@)
|
||||
|
Loading…
x
Reference in New Issue
Block a user