dont update latest from a branch
This commit is contained in:
parent
8b107e9685
commit
4b2e8c2ee2
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue