diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 836600d3f7f69d6ec92cc248dbd3056afcbf0bec..c4e827c340cad5c3e4352c5babc35d27632bd714 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 image: docker:latest
 
-steps:
+stages:
   - test
   - build
 
@@ -20,7 +20,9 @@ build_front:
   artifacts:
     paths:
       - front/dist
-
+  only:
+    - master
+    - develop
   tags:
     - dind
 # When using dind, it's wise to use the overlayfs driver for