diff --git a/templates/module-release.yml b/templates/module-release.yml index a767ab7c1150546e3285ba9739b9457df6b496cd..26d3c0760454044a4939186bd453287e15c2155b 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"