diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f8b9e59589f5a370e7d2c17b28c14e0414bb8b9..ad9680e7fa553f7fb927cd4730821aa313b746c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,8 @@
 stages:
   - build
 
-variables:
-  # Use a Python 3.8 image for both macOS and Linux builds
-  PYTHON_VERSION: "3.8"
-
 build_linux:
-  image: python:${PYTHON_VERSION}-slim
+  image: python:3.8-slim  # Use a Python 3.8 Docker image for Linux
   stage: build
   script:
     - pip install pyinstaller pyqt6 pandas matplotlib
@@ -14,11 +10,9 @@ build_linux:
   artifacts:
     paths:
       - dist/*  # Store the generated executables
-  only:
-    - main  # Run only when changes are pushed to the main branch
 
 build_macos:
-  image: apple/swift:latest
+  image: apple/swift:latest  # Use a macOS image for macOS builds (may require macOS runner)
   stage: build
   script:
     - apt-get update && apt-get install -y python3 python3-pip
@@ -27,6 +21,5 @@ build_macos:
   artifacts:
     paths:
       - dist/*
-  only:
-    - main
+