Merge pull request #6182 from ethereum/travis-stdin-password

Pass docker password in Travis via stdin
This commit is contained in:
chriseth 2019-03-05 11:38:13 +01:00 committed by GitHub
commit c283f6d842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ tag_and_push()
docker push "$image:$2"
}
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
version=$($(dirname "$0")/get_version.sh)
if [ "$TRAVIS_BRANCH" = "develop" ]
then