diff --git a/init/docker/hooks/push b/init/docker/hooks/push index d345b007..93269ee2 100755 --- a/init/docker/hooks/push +++ b/init/docker/hooks/push @@ -26,7 +26,7 @@ echo "Annotating Images: ${IMAGES}" # Build all the Docker tags if the source branch is a release and not a branch. if [ "v$VERSION" = "$SOURCE_BRANCH" ]; then - TAGS="$VERSION $(echo $VERSION | cut -d. -f1,2)" + TAGS="$VERSION $(echo $VERSION | cut -d. -f1,2) $(echo $VERSION | cut -d. -f1)" echo $SOURCE_BRANCH | grep -q -- - if [ "$?" = "1" ]; then