fix development images not tagged with real PHP version like 7.3.22

This commit is contained in:
Ralf Becker 2020-09-14 19:02:56 +02:00
parent 47a1437e1b
commit 5d744af64a

View File

@ -18,11 +18,7 @@ VERSION=${2:-$DEFAULT}
BRANCH=$(echo $VERSION|sed 's/\.[0-9]\{8\}$//')
[ $VERSION = $BRANCH ] && VERSION="$BRANCH.x-dev"
[ $BRANCH != "master" ] && {
TAG=$BRANCH-$TAG
}
[ $BRANCH = "master" ] && {
TAG=master
VERSION=dev-master
}
echo -e "\nbuilding $REPO/$IMAGE:$TAG\n"