diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efde867529e927fd9827dfe17e96f4446e4c3046..136fc4a6c348b3c7adf57a9919301aa0ff9a7b25 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -176,7 +176,6 @@ deploy-uc4-load-generator:
 # Theodolite Framework
 
 .theodolite:
-  #image: openjdk:11-jdk
   image: ghcr.io/graalvm/graalvm-ce:java11-21.0.0.2
   tags:
     - exec-docker
@@ -204,8 +203,9 @@ build-theodolite-native:
   stage: build
   extends: .theodolite
   before_script:
+  script:
     - gu install native-image # TODO move to image
-  script: ./gradlew --build-cache assemble -Dquarkus.package.type=native
+    - ./gradlew --build-cache assemble -Dquarkus.package.type=native
   artifacts:
     paths:
       - "theodolite-quarkus/build/*-runner"