Skip to content

Commit

Permalink
Merge pull request #94 from bhavin192/travis-pr-fix
Browse files Browse the repository at this point in the history
[Travis CI] don't push container image for PR builds
  • Loading branch information
PrasadG193 authored May 17, 2019
2 parents 0bfa754 + b0d10bd commit 8017492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ script:
- make

after_success:
- if [[ "$TRAVIS_BRANCH" == "develop" ]]; then
- if [[ "$TRAVIS_BRANCH" == "develop" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
docker push infracloud/botkube:latest;
fi

0 comments on commit 8017492

Please sign in to comment.