From 063e4c8667cad5356f8bfdfb98893ac49525b4ec Mon Sep 17 00:00:00 2001
From: Fischer Jonas <jf131@hdm-stuttgart.de>
Date: Thu, 22 Feb 2024 15:40:41 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0c5fad4..7f92978 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,12 +19,13 @@ test-backend:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.
   image: maven:3.9.4-eclipse-temurin-21
   services:
-  - docker/compose:latest
+  - docker:latest
+  - docker:dind
   before_script:
-    - apt-get update -qy
-    - apt-get install -y docker-compose
+    - docker version
+    - docker compose version
     - echo 'Run docker compose'
-    - docker-compose up -d
+    - docker compose up -d
   script:
     - echo 'Running unit tests...'
     - cd ./sth-backend
-- 
GitLab