diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5ee9a59b821625bbf326018fd01ce2b21d506ad..ba01d5ba39d92098b447107f1457a513f75df0d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,16 +68,8 @@ image:
 #    TAG: 2202
 #    RECIPE_PATH: recipes/image-analysis/deeplabcut
 
-deeplabcut-2202-builddeploy:
-  extends: .templateBuildDeploy
-  variables:
-    BASENAME: deeplabcut
-    TAG: 2202
-    RECIPE_PATH: recipes/image-analysis/deeplabcut
-  only:
-    changes:
-      - recipes/image-analysis/deeplabcut/Singularity.deeplabcut-2202
-
+include:
+  - local: "yaml-files/image-analysis/deeplabcut-deploy.yaml"
 
 #####################
 ## Quality control
diff --git a/yaml-files/image-analysis/deeplabcut-deploy.yaml b/yaml-files/image-analysis/deeplabcut-deploy.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..94cff85ce4055151a41d7d4180268a73512a754a
--- /dev/null
+++ b/yaml-files/image-analysis/deeplabcut-deploy.yaml
@@ -0,0 +1,9 @@
+deeplabcut-2202-builddeploy:
+  extends: .templateBuildDeploy
+  variables:
+    BASENAME: deeplabcut
+    TAG: 2202
+    RECIPE_PATH: recipes/image-analysis/deeplabcut
+  only:
+    changes:
+      - recipes/image-analysis/deeplabcut/Singularity.deeplabcut-2202