diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 768515efe582ff22dccd5ac83828479dc2495db8..3d41be4b1856fa6c66a2a5fc7305306cc46c5cf5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ stages:
 
 generate-flake-ci:
   stage: generate
-  script: nix run "git+https://gitlab.homotopic.tech/haskell/flake-to-gitlab-ci" > flake-ci.yml
+  script: nix run "git+https://gitlab.homotopic.tech/haskell/flake-to-gitlab-ci?ref=refs/tags/0.2.1.0" > flake-ci.yml
   artifacts:
     paths:
       - flake-ci.yml