diff --git a/.drone.yml b/.drone.yml
index 822ce02..b14782d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -26,11 +26,12 @@ pipeline:
   build_docker:
     image: plugins/docker
     environment:
+    commands:
       - REV=$(git rev-list HEAD --count)
     repo: dr.dnix.de/mmflokati
     tags:
       - latest
-      - ${REV}
+      - ${DRONE_COMMIT_BRANCH}-${REV}
   deploy:
     image: ubuntu:16.04
     commands: