diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0132ebfde0546d980908b7f8514a6846d708800f..304461ff7262c15a01a28725b25edc6fc411c80c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ lint templates:
   stage: test
   before_script:
     # yamllint disable-line rule:line-length
-    - python3 -m pip install git+https://gitlab.com/devopshq/gitlab-ci-linter#master
+    - python3 -m pip install git+https://gitlab.com/devopshq/gitlab-ci-linter#v1.0.3
     - gitlab-ci-linter --help
   script:
     # yamllint disable rule:line-length
@@ -24,7 +24,7 @@ lint templates:
       for template in templates/*.yml
       do
         echo "Checking $template" >&2
-        gitlab-ci-linter --server "$CI_SERVER_URL" "$template" || EXITCODE=1
+        gitlab-ci-linter --server "$CI_SERVER_URL" --filename "$template" || EXITCODE=1
         echo
       done
       [ -z "${EXITCODE:-}" ]