mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 07:38:36 -06:00
build: Change order of pushing the builds, looks nicer lol
This commit is contained in:
parent
71ac19028e
commit
13d613093b
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ name="chhoto-url"
|
||||||
|
|
||||||
docker build -t $name .
|
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
|
do
|
||||||
docker tag $name sintan1729/$name:$tag
|
docker tag $name sintan1729/$name:$tag
|
||||||
done
|
done
|
||||||
|
@ -17,7 +17,7 @@ echo "Do you want to push these to Docker Hub?"
|
||||||
select yn in "Yes" "No";
|
select yn in "Yes" "No";
|
||||||
do
|
do
|
||||||
if [ "$yn"="Yes" ]; then
|
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
|
do
|
||||||
docker push sintan1729/$name:$tag
|
docker push sintan1729/$name:$tag
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue