From 27994c4f7db703ddf4255a648fa493aea745db97 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Tue, 18 Mar 2025 16:27:21 +0100 Subject: [PATCH] WIP Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at> --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb028d6496..0e22cb1870 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -545,9 +545,11 @@ release-helm: - "mkdir -m 0700 -p ~/.gnupg" - echo "${CI_GPG_SECRING}" | base64 -d > ~/.gnupg/secring.gpg - echo "${CI_GPG_PUBRING}" | base64 -d > ~/.gnupg/pubring.gpg + - echo "${CI_GPG_OWNER_TRUST}" | base64 -d > ~/.gnupg/trustdb.gpg - helm registry login --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY_URL}" - helm registry login --username "${CI_REGISTRY2_USER}" --password "${CI_REGISTRY2_PASSWORD}" "${CI_REGISTRY2_URL}" - make build-helm + - "gpg --import-ownertrust ~/.gnupg/trustdb.gpg" - "helm package ./helm/dbrepo --sign --key 'Martin Weise' --keyring ~/.gnupg/secring.gpg --destination ./build" - "helm plugin install https://github.com/sigstore/helm-sigstore" script: -- GitLab