diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc9f4e16282627bb38eeb0988a12f2d9cc7136a9..520f0343834109b03e51a100c1f527af0538d9da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ image: gitlab-registry.mpcdf.mpg.de/mpcdf/module-image:latest
 
 .load_modules: &load_modules |
     module purge
-    module load cmake ${COMPILER} ${MPI} gsl hdf5-mpi fftw-mpi anaconda/3/2023.03
+    module load git cmake ${COMPILER} ${MPI} gsl hdf5-mpi fftw-mpi anaconda/3/2023.03
     export FFTW_DIR=$FFTW_HOME
 
 .build: &build |
@@ -136,7 +136,7 @@ build-doc:
       - *load_modules
       - mkdir build-doc
       - cd build-doc
-      - module load git gcc/11 graphviz doxygen
+      - module load graphviz doxygen
       - *export_GCC_compilers
       - pip install breathe
       - yum -y install gd
@@ -146,8 +146,8 @@ build-doc:
     tags:
       - docker
     variables:
-      COMPILER: "gcc/13"
-      MPI: "impi/2021.9"
+      COMPILER: "gcc/11"
+      MPI: "impi/2021.7"
     artifacts:
         paths:
             - build-doc/