We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c749b commit 5429d0aCopy full SHA for 5429d0a
.travis.yml
@@ -28,7 +28,7 @@ script:
28
- docker build -t $REPO:$TAG -f Dockerfile .
29
30
after_success:
31
- - docker login -u $DOCKER_USER -p $DOCKER_PASS
+ - echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
32
- if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then
33
docker tag $REPO:$TAG $REPO:$TRAVIS_BUILD_NUMBER; docker push $REPO:$TRAVIS_BUILD_NUMBER;
34
fi
0 commit comments