diff options
author | Michael Kaye <1917473+michaelkaye@users.noreply.github.com> | 2018-09-25 09:43:21 +0100 |
---|---|---|
committer | Michael Kaye <1917473+michaelkaye@users.noreply.github.com> | 2018-09-27 11:59:17 +0100 |
commit | 0d36fe35634cc44212073f2f6fab764ee7d8c0a9 (patch) | |
tree | f472018113a881296c1773ae26e37d14371da1ff /.circleci | |
parent | Merge pull request #3966 from matrix-org/rav/rx_txn_logging_2 (diff) | |
download | synapse-0d36fe35634cc44212073f2f6fab764ee7d8c0a9.tar.xz |
Build and push docker image to hub
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 521aca22ef..ff9d2a0c2d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,12 @@ version: 2 jobs: + dockerhubupload: + machine: true + steps: + - checkout + - run: docker build -f docker/Dockerfile -t matrixdotorg/synapse:$CIRCLE_TAG . + - run: docker login --username matrixdotorg --password $DOCKER_HUB_PASSWORD + - run: docker push sytestpy2: machine: true steps: @@ -131,3 +138,7 @@ workflows: filters: branches: ignore: /develop|master|release-.*/ + - dockerhub: + filters: + tags: + only: /v[0-9].[0-9]+.[0-9]+(.[0-9]+)?/ |