dont update latest from a branch
This commit is contained in:
parent
6c77b536b9
commit
da2c9e08f6
|
|
@ -7,7 +7,7 @@ set -e -o pipefail
|
||||||
VERSION=$(git tag -l --merged | tail -n1 | tr -d v) # 1.2.3
|
VERSION=$(git tag -l --merged | tail -n1 | tr -d v) # 1.2.3
|
||||||
SHORTVER=$(echo $VERSION | cut -d. -f1,2) # 1.2
|
SHORTVER=$(echo $VERSION | cut -d. -f1,2) # 1.2
|
||||||
if [ "$BUILDS" != "" ] && [ "$VERSION" != "" ]; then
|
if [ "$BUILDS" != "" ] && [ "$VERSION" != "" ]; then
|
||||||
TAGS=latest
|
TAGS=$DOCKER_TAG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Push the extra custom images that were created.
|
# Push the extra custom images that were created.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue