From 2eb0b0d389fda05a71dfd173420bf9e324788cc0 Mon Sep 17 00:00:00 2001
From: Benjamin Bollen <ben@monax.io>
Date: Sat, 11 Feb 2017 16:40:23 +0100
Subject: [PATCH] circle: deploy version tagged image from develop

---
 circle.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/circle.yml b/circle.yml
index f2cc9173..54189a8c 100644
--- a/circle.yml
+++ b/circle.yml
@@ -55,6 +55,13 @@ deployment:
       - docker push quay.io/eris/db
       # push the updated documentation
       - docs/build.sh
+  develop:
+    branch: develop
+    commands:
+      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
+      # build docker image and tag the image with the version
+      - tests/build_tool.sh
+      - docker push quay.io/eris/db
   master:
     branch: master
     commands:
@@ -77,6 +84,3 @@ deployment:
       - docker push quay.io/eris/db
       # push the updated documentation
       - docs/build.sh
-
-
-
-- 
GitLab