|
|
|
@ -4,7 +4,7 @@ jobs: |
|
|
|
|
machine: true |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_TAG} -t matrixdotorg/synapse:${CIRCLE_TAG}-py3 --build-arg PYTHON_VERSION=3.6 . |
|
|
|
|
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_TAG} -t matrixdotorg/synapse:${CIRCLE_TAG}-py3 . |
|
|
|
|
- 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 |
|
|
|
@ -12,7 +12,7 @@ jobs: |
|
|
|
|
machine: true |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest -t matrixdotorg/synapse:latest-py3 --build-arg PYTHON_VERSION=3.6 . |
|
|
|
|
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest -t matrixdotorg/synapse:latest-py3 . |
|
|
|
|
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD |
|
|
|
|
- run: docker push matrixdotorg/synapse:latest |
|
|
|
|
- run: docker push matrixdotorg/synapse:latest-py3 |
|
|
|
|