Skip to content

Commit c736df3

Browse files
authored
Merge pull request DefectDojo#529 from aaronweaver/master
Adding version to docker hub.
2 parents a87fcb9 + f0c1fb8 commit c736df3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ script:
7171
esac
7272
7373
after_success:
74-
#Push to docker repo only if branch is master and this is a release
75-
- docker tag $REPO $REPO:$TRAVIS_TAG
74+
#Push to docker repo
7675
- |
7776
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_TAG" != "" ] && [ "$TEST" == "integration-test" ] && [ "$DOCKER_USER" != "" ] && [ "$DOCKER_PASS" != "" ]; then
78-
docker tag $REPO $REPO:$TAG
77+
docker tag $REPO $REPO:$TRAVIS_TAG
7978
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
8079
docker push $REPO ;
8180
fi

0 commit comments

Comments
 (0)