diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b9bd5da3c24177352600863b16602607c58e64c..8cc73c24bb2e1f039ab4c3f6986ca9d880456a36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -327,6 +327,9 @@ push web:
 push core_sampler:
   image: python:latest
   stage: push
+  rules:
+    - if: $CI_COMMIT_TAG
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
   before_script:
     - cd apps/cli/utilities/core_sampler
     - pip install flit