From 6bc85d48784ec8c4d371073ad1b0d281d7bb8515 Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 12 Apr 2018 08:41:27 +0200 Subject: [PATCH] Fix travis login --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 61b69aa9..487f47ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,7 +95,7 @@ before_script: ### script: - if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then - docker login --username "${DOCKER_USERNAME}" --password "${DOCKER_PASSWORD}" && + echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin && if [ "${TRAVIS_BRANCH}" == "master" ]; then docker push "${IMAGE}:${PHP}-base"; docker push "${IMAGE}:${PHP}-mods";