Skip to content

Commit

Permalink
Merge pull request #70 from tomwilkie/build
Browse files Browse the repository at this point in the history
Automatically push master builds to docker hub.
  • Loading branch information
tomwilkie committed May 20, 2015
2 parents 4710657 + 98b7a02 commit b8f21e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ test:
- goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true
- cd $SRCDIR; cp coverage.html $CIRCLE_ARTIFACTS
- cd $SRCDIR; cp scope.tar $CIRCLE_ARTIFACTS

deployment:
hub:
branch: master
commands:
- if [ "$CIRCLE_PROJECT_USERNAME" = "weaveworks" ]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS; fi
- if [ "$CIRCLE_PROJECT_USERNAME" = "weaveworks" ]; then docker push weaveworks/scope; fi

0 comments on commit b8f21e6

Please sign in to comment.