diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ce585246391c702ac26618dace24324479bdfbc..ce07b89db23076c5c5f85f94e5915e380e21369b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,10 @@ image: docker:latest
 
 # services:
 #   - docker:dind
+#
+stages:
+  - build_pandoc
+  - build
 
 before_script:
   - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
@@ -25,7 +29,7 @@ build-c-pandoc:
 build-pandoc:
   tags:
     - dfromd
-  stage: build
+  stage: build_pandoc
   script:
     - cd pandoc
     - docker build --pull -t omalaspinas/pandoc .