diff options
author | Manuel Rüger <manuel@rueg.eu> | 2018-04-16 22:54:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 22:54:18 +0200 |
commit | 5563571a5994c6c96f9f9e7641a88a5fdd2ed128 (patch) | |
tree | 70a3342d2a0c17d8d3ce5e9a6d6f82c80fba37b1 | |
parent | Extract stage3 archive using XZ compression (#56) (diff) | |
download | docker-images-5563571a5994c6c96f9f9e7641a88a5fdd2ed128.tar.gz docker-images-5563571a5994c6c96f9f9e7641a88a5fdd2ed128.tar.bz2 docker-images-5563571a5994c6c96f9f9e7641a88a5fdd2ed128.zip |
Fix docker login
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f1967d5..6e09c83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ script: after_success: - if [[ "${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}" == "master" && "${TRAVIS_EVENT_TYPE}" == "cron" ]]; then VERSION=$(date -u +%Y%m%d); - docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"; + echo "${DOCKER_PASSWORD}" | docker login -u="${DOCKER_USERNAME}" --password-stdin; docker push "${ORG}/${TARGET}:latest"; docker push "${ORG}/${TARGET}:${VERSION}"; fi |