diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ba3e411767b67c7ed89c053ffba05aa322a6015..f1deaa311966d18373e1fca3f622193ccc4df663 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ lint templates:
       for template in templates/*.yml
       do
         echo "Checking $template" >&2
-        gitlab-ci-linter --server "$CI_SERVER_URL" --filename "$template" || EXITCODE=1
+        gitlab-ci-linter --server "$CI_SERVER_URL" "$template" || EXITCODE=1
         echo
       done
       [ -z "${EXITCODE:-}" ]