diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb10a4fa5688f52406c8115bc4546cc345915220..ae7db546a39557483f7928c75bd53b27a8b639e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,9 @@ stages:
     matrix:
       - RUBY_VERSION: ['3.2.0']
         PUPPET_GEM_VERSION: ['~> 7']
+        BLACKSMITH_FORGE_USERNAME: "$BLACKSMITH_FORGE_USERNAME"
+        BLACKSMITH_FORGE_API_KEY: "$BLACKSMITH_FORGE_API_KEY"
+
   image: ruby:${RUBY_VERSION}
   cache:
     paths:
@@ -72,12 +75,8 @@ acceptance:
 release:
   needs:
     - acceptance
+  extends: .common-matrix
   stage: release
-  image: ruby:3.2.0
-  variables:
-    PUPPET_GEM_VERSION: "~> 7"
-    BLACKSMITH_FORGE_USERNAME: "$BLACKSMITH_FORGE_USERNAME"
-    BLACKSMITH_FORGE_API_KEY: "$BLACKSMITH_FORGE_API_KEY"
   script:
   - bundle exec puppet strings generate --format markdown --out REFERENCE.md
   - bundle exec rake module:push