Skip to content

Commit

Permalink
Have Travis push to Docker Hub for this branch
Browse files Browse the repository at this point in the history
(needs to be undone before merge)
  • Loading branch information
gsfr committed Dec 19, 2017
1 parent 5385f53 commit e03df1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ after_success:
docker tag core:dist scitran/core:$TRAVIS_TAG;
docker push scitran/core:$TRAVIS_TAG;
fi
- if [ "$TRAVIS_EVENT_TYPE" == "push" -a "$TRAVIS_BRANCH" == "master" ]; then
docker tag core:dist scitran/core:latest;
docker push scitran/core:latest;
- if [ "$TRAVIS_EVENT_TYPE" == "push" -a "$TRAVIS_BRANCH" == "nginx-unit" ]; then
docker tag core:dist scitran/core:testing;
docker push scitran/core:testing;
fi

0 comments on commit e03df1f

Please sign in to comment.