From 13d613093b61a920c32bd9738c6880cb4236a839 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 14 Mar 2024 00:47:27 -0500 Subject: [PATCH] build: Change order of pushing the builds, looks nicer lol --- docker_push_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker_push_script.sh b/docker_push_script.sh index 5da30b5..1301374 100755 --- a/docker_push_script.sh +++ b/docker_push_script.sh @@ -8,7 +8,7 @@ name="chhoto-url" docker build -t $name . -for tag in latest $v_patch $v_minor $v_major; +for tag in $v_major $v_minor $v_patch latest do docker tag $name sintan1729/$name:$tag done @@ -17,7 +17,7 @@ echo "Do you want to push these to Docker Hub?" select yn in "Yes" "No"; do if [ "$yn"="Yes" ]; then - for tag in latest $v_patch $v_minor $v_major; + for tag in $v_major $v_minor $v_patch latest do docker push sintan1729/$name:$tag done