diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4c9e65ec7ea0ffcb479a221c680201b3ea1bcc5..9aaf5aa013a2122341d53b69369a379690b1ebe1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: openjdk:8-alpine
 
 stages:
     - test
+    - build
 
 cache:
     key: ${CI_COMMIT_REF_SLUG}
@@ -26,7 +27,7 @@ test:
 # Make sure we can build a docker image
 # It's cached for later jobs
 build_docker:
-    stage: test
+    stage: build
     image: docker:19.03.12
     services:
         - docker:19.03.12-dind