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 authored and ambrussimon committed Jan 8, 2018
1 parent 654c568 commit 1303bbd
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 1303bbd

Please sign in to comment.