diff --git a/bin/docker-push b/bin/docker-push index 81fa1087..668f6d0b 100755 --- a/bin/docker-push +++ b/bin/docker-push @@ -36,7 +36,7 @@ version=$(docker version | grep -e Version | head -n 1 | awk '{ print $2 }') major=$(echo "${version}" | awk -F. '{ print $1 }') minor=$(echo "${version}" | awk -F. '{ print $2 }') -if [[ "${minor}" -le 9 && "${major}" -eq 1 ]] || [ "${major}" -eq 0 ] +if [[ "${minor#0}" -le 9 && "${major}" -eq 1 ]] || [ "${major}" -eq 0 ] then DOCKER_TAG_COM="${DOCKER_TAG_COM} -f " fi