summary refs log tree commit diff
path: root/.circleci
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-12-21 00:20:22 +0000
committerRichard van der Hoff <richard@matrix.org>2018-12-21 00:22:31 +0000
commitd9aaf26539815fc344f447b8df98d5e902cf708f (patch)
tree0b2d2ff4397353961faa764d52d54344543a06df /.circleci
parentMerge branch 'master' into develop (diff)
downloadsynapse-d9aaf26539815fc344f447b8df98d5e902cf708f.tar.xz
Fix circleci config for synapse:latest docker upload
Give the image the right tag, so that we can push it.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d4aafd4b2c..697e6c577f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -13,8 +13,8 @@ jobs:
     machine: true
     steps:
       - checkout
-      - run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_SHA1} .
-      - run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_SHA1}-py3 --build-arg PYTHON_VERSION=3.6 .
+      - run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest .
+      - run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -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-py3