message: fix(ci): publish image only if master build
diff: @@ -35,7 +35,8 @@ jobs:
  install: skip
  script: RELEASE_VERSION=latest ./make-web.sh --build-ml
  after_success: |
  - if [ "${TRAVIS_BRANCH}" == "master" ]; then
  + if [ "${TRAVIS_BRANCH}" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
  + echo 'Master banch build detected, pushing to docker hub'
  echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
  docker tag flogo/flogo-web:latest flogo/flogo-web:unstable
  docker push flogo/flogo-web:unstable
  