From 820cdb259577c2edf9630cd81237d23bed02d92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Djk=C3=A1=C5=A5o?= Date: Wed, 15 May 2024 18:00:15 +0200 Subject: [PATCH] scritp for push all --- Makefile.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 422b136..8fd8ac6 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -62,8 +62,10 @@ script = ''' [tasks.push-all] workspace = false script = ''' -for i in ${ALL_APPS[*]}; do - docker push ${CONTAINER_PUSH_URL}/saleor-app-$i +ALL_IMAGES=$(docker images -qa --filter "label=src=saleor-dockerize-all-apps" --format "{{.Repository}}:{{.Tag}}") +for i in ${ALL_IMAGES[*]}; do + echo "pushing $i.." + docker push $i done '''