Update .travis.yml push behaviour
Updates bash push stage to use -z instead of -s check. Corrects
error in Travis build.
@@ -16,7 +16,7 @@ before_script:
- curl -sSL get.docker.com | sudo -E sh
after_success:
- - if [ ! -s "$TRAVIS_TAG" ] ; then
+ - if [ ! -z "$TRAVIS_TAG" ] ; then
docker tag $DOCKER_NS/faas-netesd:latest $DOCKER_NS/faas-netesd:$TRAVIS_TAG;
docker login -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD;
docker push $DOCKER_NS/faas-netesd:$TRAVIS_TAG;
