0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-24 19:44:11 +01:00
synapse/.circleci/config.yml

32 lines
988 B
YAML
Raw Normal View History

2018-08-14 13:30:34 +02:00
version: 2
jobs:
dockerhubuploadrelease:
2018-09-25 10:43:21 +02:00
machine: true
steps:
- checkout
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_TAG} .
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
- run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
dockerhubuploadlatest:
machine: true
steps:
- checkout
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest .
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
- run: docker push matrixdotorg/synapse:latest
2018-08-14 13:30:34 +02:00
workflows:
version: 2
build:
jobs:
- dockerhubuploadrelease:
2018-09-25 10:43:21 +02:00
filters:
tags:
only: /v[0-9].[0-9]+.[0-9]+.*/
branches:
ignore: /.*/
- dockerhubuploadlatest:
filters:
branches:
only: master