diff --git a/tests/build_tool.sh b/tests/build_tool.sh
index b765ad2846e6711a506cbb3006dd0e7f1f58aab8..bf99cf09b6ff0bfa4b07aba0402b8cb34ca3bb94 100755
--- a/tests/build_tool.sh
+++ b/tests/build_tool.sh
@@ -23,7 +23,7 @@ IMAGE=quay.io/monax/db
 
 set -e
 
-if [ "$JENKINS_URL" ] || [ "$CIRCLE_BRANCH" ]
+if [ "$JENKINS_URL" ] || [ "$CIRCLE_BRANCH" ] || [ "$CIRCLE_TAG" ]
 then
   REPO=`pwd`
   CI="true"