No, I meant push latest

This commit is contained in:
Neale Pickett 2018-10-03 01:26:40 +00:00
parent bb99a3117f
commit 0585351abc
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ cd $(dirname $0)
for img in moth moth-devel; do
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 .
[ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img:$version
[ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img:latest
done
exit 0