Skip to content

Commit

Permalink
travis: pass docker credentials using stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestc committed Apr 11, 2018
1 parent a80347e commit 2c8fcd8
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 @@ -46,7 +46,7 @@ jobs:
go: "master"
- stage: push to docker
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
- if [ -n "$TRAVIS_TAG" ]; then make TAG=$TRAVIS_TAG push; else make push; fi
go: "1.10.x"
if: (NOT type IN (pull_request)) AND (branch = master) OR (tag IS present)
Expand Down

0 comments on commit 2c8fcd8

Please sign in to comment.