diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5841591808295ea320f823afbeb1fd30b9aa2759..8d49b819f69090f4cbfab14b5ed61121de073e3a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ stages:  # Define stages in the pipeline
 # Job to build documentation
 build-docs:
   stage: build
+  tags: docker
   script:
     - sphinx-build docs/source docs/build  # Build the documentation
   artifacts:
@@ -17,6 +18,7 @@ build-docs:
 # Job to deploy documentation to GitLab Pages
 pages:
   stage: deploy
+  tags: docker
   script:
     - mv docs/build public  # Move the build output to the "public" directory
   artifacts: