diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f11592437a95f518602a344441532fd6d5473802..f9892aa78d436e3090c29992d4467c5e83a53df1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,19 @@ before_script:
   - python -m venv venv
   - source venv/bin/activate
 
+# Push changes to docker images to registry if any
+docker-images:
+  script:
+    - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
+    - bash images.sh
+  rules:
+    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+      changes:
+        - Dockerfile
+        - "*.Dockerfile"
+      when: manual
+      allow_failure: true
+
 # Run the test suite using tox.
 # This job is called when commits are pushed to the main or a release branch.
 test: