summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-04-29 20:43:17 +1000
committerAmber Brown <hawkowl@atleastfornow.net>2019-04-29 20:43:17 +1000
commitbd5f62469c6950abc7c8891cf4c9cd115fc9d18a (patch)
tree62943240ece6667c77eea4023d9f908794805411
parenttarget better for the shhs release docker hub (diff)
downloadsynapse-bd5f62469c6950abc7c8891cf4c9cd115fc9d18a.tar.xz
target better for the shhs release docker hub, pt 2
-rw-r--r--.circleci/config.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml

index a4a2cfef28..d7acd9d6e5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml
@@ -10,6 +10,13 @@ jobs: - run: docker push matrixdotorg/synapse:${CIRCLE_TAG} - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py2 - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3 + dockerhubuploadreleasebranch: + machine: true + steps: + - checkout + - run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_BRANCH} --build-arg PYTHON_VERSION=3.7 . + - run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD + - run: docker push matrixdotorg/synapse:${CIRCLE_TAG} dockerhubuploadlatest: machine: true steps: @@ -89,8 +96,11 @@ workflows: tags: only: /v[0-9].[0-9]+.[0-9]+.*/ branches: - only: shhs ignore: /.*/ + - dockerhubuploadreleasebranch: + filters: + branches: + only: shhs - dockerhubuploadlatest: filters: branches: