From c893118451277e104e9d532ec70b915cbb86ef81 Mon Sep 17 00:00:00 2001
From: Sven Schliesing <s.schliesing@ndr.de>
Date: Tue, 25 Feb 2025 09:25:52 +0100
Subject: [PATCH] use image debian:stable-slim, install curl

---
 templates/module-release.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/module-release.yml b/templates/module-release.yml
index a767ab7..26d3c07 100644
--- a/templates/module-release.yml
+++ b/templates/module-release.yml
@@ -34,12 +34,14 @@ spec:
 
 '$[[ inputs.as ]]':
   stage: $[[ inputs.stage ]]
-  image: registry.gitlab.com/components/opentofu/gitlab-opentofu:0.53.0-opentofu1.9.0-debian
+  image: debian:stable-slim
   variables:
     TAR_FILENAME: /tmp/${CI_PROJECT_NAME}-${CI_COMMIT_SHA}.tgz
     GITLAB_TOFU_ROOT_DIR: $[[ inputs.root_dir ]]
     UPLOAD_URL:
       ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/terraform/modules/$[[ inputs.module_name ]]/$[[ inputs.module_system ]]/$[[ inputs.module_version ]]/file
+  before_script:
+    - apt update && apt install -y --no-install-recommends curl
   script:
     - >-
       tar -vczf "$TAR_FILENAME"
-- 
GitLab