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

Commit

Permalink
target better for the shhs release docker hub, pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Apr 29, 2019
1 parent c0f57ca commit bd5f624
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit bd5f624

Please sign in to comment.