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.
2 parents a87fcb9 + f0c1fb8 commit c736df3Copy full SHA for c736df3
.travis.yml
@@ -71,11 +71,10 @@ script:
71
esac
72
73
after_success:
74
- #Push to docker repo only if branch is master and this is a release
75
- - docker tag $REPO $REPO:$TRAVIS_TAG
+ #Push to docker repo
76
- |
77
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_TAG" != "" ] && [ "$TEST" == "integration-test" ] && [ "$DOCKER_USER" != "" ] && [ "$DOCKER_PASS" != "" ]; then
78
- docker tag $REPO $REPO:$TAG
+ docker tag $REPO $REPO:$TRAVIS_TAG
79
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
80
docker push $REPO ;
81
fi
0 commit comments