Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit bd5f624

Browse files
committed
target better for the shhs release docker hub, pt 2
1 parent c0f57ca commit bd5f624

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jobs:
1010
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
1111
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py2
1212
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3
13+
dockerhubuploadreleasebranch:
14+
machine: true
15+
steps:
16+
- checkout
17+
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_BRANCH} --build-arg PYTHON_VERSION=3.7 .
18+
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
19+
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
1320
dockerhubuploadlatest:
1421
machine: true
1522
steps:
@@ -89,8 +96,11 @@ workflows:
8996
tags:
9097
only: /v[0-9].[0-9]+.[0-9]+.*/
9198
branches:
92-
only: shhs
9399
ignore: /.*/
100+
- dockerhubuploadreleasebranch:
101+
filters:
102+
branches:
103+
only: shhs
94104
- dockerhubuploadlatest:
95105
filters:
96106
branches:

0 commit comments

Comments
 (0)