Skip to content

Commit e03df1f

Browse files
committed
Have Travis push to Docker Hub for this branch
(needs to be undone before merge)
1 parent 5385f53 commit e03df1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ after_success:
3434
docker tag core:dist scitran/core:$TRAVIS_TAG;
3535
docker push scitran/core:$TRAVIS_TAG;
3636
fi
37-
- if [ "$TRAVIS_EVENT_TYPE" == "push" -a "$TRAVIS_BRANCH" == "master" ]; then
38-
docker tag core:dist scitran/core:latest;
39-
docker push scitran/core:latest;
37+
- if [ "$TRAVIS_EVENT_TYPE" == "push" -a "$TRAVIS_BRANCH" == "nginx-unit" ]; then
38+
docker tag core:dist scitran/core:testing;
39+
docker push scitran/core:testing;
4040
fi

0 commit comments

Comments
 (0)