diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 750a3d7e469cf392b9f4a6ab596009520a5f8b72..d9348f62d35065fc746615e687d7d21ad522341c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,13 +9,13 @@ build:
     - |
       if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
         tag=""
-        echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
+        echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'indev'"
       else
         tag=":$CI_COMMIT_REF_SLUG"
         echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
       fi
     - docker build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE${tag}" .
     - docker push "$CI_REGISTRY_IMAGE${tag}"
-  rules:
-    if: $CI_COMMIT_TAG
-        when: always
\ No newline at end of file
+  only:
+    - tags
+    - trunk
\ No newline at end of file