From 03e44d85ff920ea2f6a8ab7c44b0983d1df3246a Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Wed, 30 Oct 2024 14:00:06 +0100
Subject: [PATCH] New stage for sign job

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 88508d7..6ff8184 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,6 +54,7 @@ stages:
   - test-integration
   - quality
   - deploy
+  - sign
   - release
   - cleanup
 
@@ -250,8 +251,7 @@ gitlab-opentofu-image:deploy:dry-run:
 
 gitlab-opentofu-image:sign:
   extends: '.image-matrix:deploy'
-  stage: deploy
-  needs: ['gitlab-opentofu-image:deploy']
+  stage: sign
   image: alpine:3.20.3
   variables:
     COSIGN_YES: "true"  # Used by Cosign to skip confirmation prompts for non-destructive operations
-- 
GitLab