Skip to content

Commit

Permalink
Fix travis login
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Apr 12, 2018
1 parent ce2069d commit 6bc85d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 6bc85d4

Please sign in to comment.