diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f80f4606a07ec4cc37fd5415474af218cd1c65f9..cf23522c39cebe65616d253d3b3f3f2b4dee4e67 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,7 +63,7 @@ unittests-mariadb:
     - make pipeline-test SQL_HOST=mariadb
 
 # Run the unit tests with MySQL 8
-unittests-mysql-8
+unittests-mysql-8:
   tags: [ docker ]
   stage: test
   # Should not stop the pipeline from continuing.
@@ -76,7 +76,7 @@ unittests-mysql-8
     - make pipeline-test SQL_HOST=mysql
 
 # Run the unit tests with MySQL 5
-unittests-mysql-5
+unittests-mysql-5:
   tags: [ docker ]
   stage: test
   # Should not stop the pipeline from continuing.