From b78604432391abb47e1b8875df1d2f5588f62f99 Mon Sep 17 00:00:00 2001
From: Enno Gotthold <egotthold@suse.de>
Date: Tue, 11 Feb 2025 14:38:11 +0100
Subject: [PATCH] Use custom SSL certificate for the release job

---
 .gitlab-ci.yml             | 1 +
 .gitlab/README.md.template | 1 +
 README.md                  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6c7cd58..8363e56 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -383,6 +383,7 @@ gitlab-opentofu-image:verify-signature:
   stage: release
   image: registry.gitlab.com/gitlab-org/release-cli:v0.21.0
   before_script:
+    - *install-custom-ca-alpine
     - apk add --update yq envsubst
   script:
     - echo "Creating release $RELEASE_TAG_NAME"
diff --git a/.gitlab/README.md.template b/.gitlab/README.md.template
index 357eacb..53feabf 100644
--- a/.gitlab/README.md.template
+++ b/.gitlab/README.md.template
@@ -554,6 +554,7 @@ certificate needs to be in the PEM format. Currently the certificate is applied
 - `gitlab-opentofu-image:build`
 - `gitlab-opentofu-image:deploy`
 - `gitlab-opentofu-image:verify-signature`
+- `release:base`
 
 ## Migrating from the Terraform CI/CD templates
 
diff --git a/README.md b/README.md
index 09d1927..88d55c0 100644
--- a/README.md
+++ b/README.md
@@ -628,6 +628,7 @@ certificate needs to be in the PEM format. Currently the certificate is applied
 - `gitlab-opentofu-image:build`
 - `gitlab-opentofu-image:deploy`
 - `gitlab-opentofu-image:verify-signature`
+- `release:base`
 
 ## Migrating from the Terraform CI/CD templates
 
-- 
GitLab