Skip to content

Commit

Permalink
travis: use long param to docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Fournier committed Feb 1, 2019
1 parent d581a05 commit 956d576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ ! -z "${TRAVIS_BRANCH}" ]; then
docker build -t "${SLUG}" .
docker inspect "${SLUG}"
docker history "${SLUG}"
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_LOGIN}" --password-stdin
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_LOGIN}" --password-stdin
docker push "${SLUG}"
else
echo 'no $TRAVIS_BRANCH defined, exiting'
Expand Down

0 comments on commit 956d576

Please sign in to comment.