summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-02-06 09:41:54 +0000
committerGitHub <noreply@github.com>2019-02-06 09:41:54 +0000
commitd8e63846e23537d534f94df1e4294326964bb780 (patch)
tree8b4bf03eb92ecec2e8a9fe95e760b7fdc15953fd
parentfaq cleanups (diff)
downloadsynapse-d8e63846e23537d534f94df1e4294326964bb780.tar.xz
Fix docker upload job to push -py2 images (#4576)
-rw-r--r--.circleci/config.yml2
-rw-r--r--changelog.d/4576.misc1
2 files changed, 3 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ee72ad7a14..137747dae3 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -8,6 +8,7 @@ jobs:
       - 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 login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
       - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}
+      - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py2
       - run: docker push matrixdotorg/synapse:${CIRCLE_TAG}-py3
   dockerhubuploadlatest:
     machine: true
@@ -17,6 +18,7 @@ jobs:
       - 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 login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
       - run: docker push matrixdotorg/synapse:latest
+      - run: docker push matrixdotorg/synapse:latest-py2
       - run: docker push matrixdotorg/synapse:latest-py3
   sytestpy2:
     docker:
diff --git a/changelog.d/4576.misc b/changelog.d/4576.misc
new file mode 100644
index 0000000000..94b1ade2e3
--- /dev/null
+++ b/changelog.d/4576.misc
@@ -0,0 +1 @@
+Fix docker upload job to push -py2 images.