diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c2c6d24112392609cc2fcc7ca53385ea981ca19..5f87cbcf1e904be31d72804b20d9716c3acb80a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,11 @@
 ---
 image: python:3.11
 
-stages:
-  - test
-  - release
-
 include:
-  - project: 'infra/platform'
-    ref: master
-    file: '/templates/python.ci.yml'
+  project: infra/gitlab
+  ref: master
+  file: templates/python.ci.yml
+
 
 test:
   stage: test
@@ -20,3 +17,8 @@ test:
     - tags
   tags:
     - test
+
+
+publish:
+  cache: []
+  extends: .publish_pypi