mirror of https://github.com/dirtbags/moth.git
Stop pushing every docker version ever
This commit is contained in:
parent
97a7e09f35
commit
1f68843afc
2
build.sh
2
build.sh
|
@ -8,7 +8,7 @@ cd $(dirname $0)
|
||||||
for img in moth moth-devel; do
|
for img in moth moth-devel; do
|
||||||
echo "==== $img"
|
echo "==== $img"
|
||||||
sudo docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img .
|
sudo docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img .
|
||||||
[ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img
|
[ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img:$version
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue