travis: remove deprecated docker login -e flag (#3651)

This commit is contained in:
Michael Stapelberg 2019-03-19 09:49:59 +01:00 committed by GitHub
parent 0cae9b236b
commit 9bd2224520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,6 @@ docker build --pull --no-cache --rm -t=${BASENAME} -f ${DOCKERFILE} .
# the login+push step when the variable isnt set.
if [ -n "${DOCKER_PASS}" ]
then
docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
docker push ${BASENAME}
fi