From b2cb26e395883d03c5cbe7f42c6e5911f17c3aad Mon Sep 17 00:00:00 2001 From: Gunnar Schaefer Date: Mon, 18 Dec 2017 16:10:04 -0800 Subject: [PATCH] Have Travis push to Docker Hub for this branch (needs to be undone before merge) --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa7c7e307..4b01a1fee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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