Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Docker hub publish for master branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan authored and Stefan Prodan committed Sep 14, 2017
1 parent 6af6dbc commit 601a724
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ script:
- docker logs mgob 2>&1 | grep 'Backup finished'

after_success:
- make publish
- if [ "$TRAVIS_BRANCH" == "master" ]; then
make publish;
fi

deploy:
provider: script
script: make release
on:
tags: true
branch: master
branch: master

0 comments on commit 601a724

Please sign in to comment.