diff options
author | Amber H. Brown <hawkowl@atleastfornow.net> | 2019-07-02 18:18:09 +1000 |
---|---|---|
committer | Amber H. Brown <hawkowl@atleastfornow.net> | 2019-07-02 18:18:09 +1000 |
commit | bed45ab20b985d53fc767a67c77ac21d5996de41 (patch) | |
tree | 09461c43fd703b4703b0ca2ec7326cfb5bfbef5b /.circleci/config.yml | |
parent | improve error text when room is too large (diff) | |
download | synapse-bed45ab20b985d53fc767a67c77ac21d5996de41.tar.xz |
release shhs on tags shhs-v1.0
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 2253430369..6d59bf79c8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,13 +8,13 @@ jobs: - run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD - run: docker push matrixdotorg/synapse:${CIRCLE_TAG} - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3 - dockerhubuploadreleasebranch: + dockerhubuploadreleaseshhs: 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 build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_TAG} --build-arg PYTHON_VERSION=3.7 . - run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD - - run: docker push matrixdotorg/synapse:${CIRCLE_BRANCH} + - run: docker push matrixdotorg/synapse:${CIRCLE_TAG} dockerhubuploadlatest: machine: true steps: @@ -34,10 +34,12 @@ workflows: only: /v[0-9].[0-9]+.[0-9]+.*/ branches: ignore: /.*/ - - dockerhubuploadreleasebranch: + - dockerhubuploadreleaseshhs: filters: + tags: + only: /shhs-v[0-9]+.[0-9]+.*/ branches: - only: shhs + ignore: /.*/ - dockerhubuploadlatest: filters: branches: |