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 20, 2017
1 parent 2318e6f commit b2cb26e
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 b2cb26e

Please sign in to comment.