diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59f6c8cd55cbe0f90acd78d65f66ff0d14585b4b..672d590d3145bd02c05cd2d641b00c0a9c9594f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ stages:
 
 # per os items
 do-nightly-clean-ubuntu18:
-  <<: *do-clean
+  <<: *do-nightly-clean
   tags:
     - ubuntu18
   variables:
@@ -32,7 +32,7 @@ do-nightly-clean-ubuntu18:
 
 # per os items
 do-nightly-clean-ubuntu16:
-  <<: *do-clean
+  <<: *do-nightly-clean
   tags:
     - ubuntu18
   variables: