diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22f6db727746d475c88e2aec2d23defa8d8119e5..11f66d36c9099e540f21c18171ed7eb4d7e42c8d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,11 +8,14 @@
 #
 # This template uses one generic job with conditional builds
 # for the default branch and all other (MR) branches.
+stages:
+  - build_jupyterlab
+  - build_jupyterhub
 
 docker-build_jupyterlab:
   # Use the official docker image.
   image: docker:latest
-  stage: build
+  stage: build_jupyterlab
   services:
     - docker:dind
   before_script:
@@ -32,7 +35,7 @@ docker-build_jupyterlab:
 docker-build_jupyterhub:
   # Use the official docker image.
   image: docker:latest
-  stage: build
+  stage: build_jupyterhub
   services:
     - docker:dind
   before_script: