Skip to content

Commit

Permalink
[ajey] adding github release option
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeygore committed Apr 12, 2018
1 parent 5646307 commit 2573a00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ script:
after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=sankalpsingh/gate
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH
; fi`
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -f Dockerfile -t $REPO:$COMMIT .
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
Expand Down

0 comments on commit 2573a00

Please sign in to comment.