do NOT tag 20.1 latest

This commit is contained in:
Ralf Becker 2020-05-25 15:29:57 +02:00
parent 579c84ac12
commit c6d7cb2467

View File

@ -22,10 +22,10 @@ docker pull ubuntu:18.04
docker build --no-cache --build-arg "VERSION=$VERSION" -t egroupware/egroupware:$TAG . && { docker build --no-cache --build-arg "VERSION=$VERSION" -t egroupware/egroupware:$TAG . && {
docker push egroupware/egroupware:$TAG docker push egroupware/egroupware:$TAG
# tag only stable releases as latest # tag only stable releases as latest
[ $TAG != "master" ] && { #[ $TAG != "master" ] && {
docker tag egroupware/egroupware:$TAG egroupware/egroupware:latest # docker tag egroupware/egroupware:$TAG egroupware/egroupware:latest
docker push egroupware/egroupware:latest # docker push egroupware/egroupware:latest
} #}
[ "$BRANCH" != $VERSION -a "${BRANCH}.x-dev" != $VERSION ] && { [ "$BRANCH" != $VERSION -a "${BRANCH}.x-dev" != $VERSION ] && {
docker tag egroupware/egroupware:$VERSION egroupware/egroupware:$BRANCH docker tag egroupware/egroupware:$VERSION egroupware/egroupware:$BRANCH
docker push egroupware/egroupware:$BRANCH docker push egroupware/egroupware:$BRANCH