mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-23 05:00:24 +03:00
release shhs on tags
This commit is contained in:
parent
0993b05ca5
commit
bed45ab20b
1 changed files with 7 additions and 5 deletions
|
@ -8,13 +8,13 @@ jobs:
|
||||||
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
- 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}
|
||||||
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3
|
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3
|
||||||
dockerhubuploadreleasebranch:
|
dockerhubuploadreleaseshhs:
|
||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- 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 login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||||
- run: docker push matrixdotorg/synapse:${CIRCLE_BRANCH}
|
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
|
||||||
dockerhubuploadlatest:
|
dockerhubuploadlatest:
|
||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
|
@ -34,10 +34,12 @@ workflows:
|
||||||
only: /v[0-9].[0-9]+.[0-9]+.*/
|
only: /v[0-9].[0-9]+.[0-9]+.*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
- dockerhubuploadreleasebranch:
|
- dockerhubuploadreleaseshhs:
|
||||||
filters:
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /shhs-v[0-9]+.[0-9]+.*/
|
||||||
branches:
|
branches:
|
||||||
only: shhs
|
ignore: /.*/
|
||||||
- dockerhubuploadlatest:
|
- dockerhubuploadlatest:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Reference in a new issue