# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
# docker login requests an email address if nothing is passed to it
# Nexus, however, does not need this and ignores the value
# docker login requests an email address if nothing is passed to it
# Nexus, however, does not need this and ignores the value
# Login to docker.io after determining if email is needed.
if [ "${DOCKERHUB_REGISTRY:-none}" != 'none' ]
then
# Login to docker.io after determining if email is needed.
if [ "${DOCKERHUB_REGISTRY:-none}" != 'none' ]
then