dont update latest from a branch

This commit is contained in:
David Newhall II 2019-07-07 17:05:33 -07:00
parent 8b107e9685
commit 4b2e8c2ee2
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ set -e -o pipefail
VERSION=$(git tag -l --merged | tail -n1 | tr -d v) # 1.2.3
SHORTVER=$(echo $VERSION | cut -d. -f1,2) # 1.2
if [ "$BUILDS" != "" ] && [ "$VERSION" != "" ]; then
TAGS=latest
TAGS=$DOCKER_TAG
fi
# Push the extra custom images that were created.