diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9553f8882a70bbeddba11b5e2dbaf914230528d7..3d485e1237a17df79b223e3c35dd2e465e3adfdb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,6 +70,7 @@ requirements-compile:
 
 
 pre-commit:
+    image: python:${IMAGE_TAG}
     stage: templates
     needs: [ "python_install" ]
     variables: