From c2e0459d88e8a10b8ac74c602269762c679fab56 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Sat, 15 Jun 2024 21:56:46 +0200 Subject: [PATCH] Fixed keyring --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff17f72f0f..7c0e08eb15 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -606,8 +606,10 @@ release-helm: - "docker logout ${CI_REGISTRY2_URL}" - "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}" - "apk add sed helm curl" - - echo "$CI_GPG_KEYRING" | base64 -d > ./secring.gpg - - helm package ./helm/dbrepo --sign --key 'Martin Weise' --keyring ./secring.gpg --destination ./build + - "mkdir -p ~/.gnupg" + - echo "$CI_GPG_KEYRING" | base64 -d > ~/.gnupg/secring.gpg + - echo "$CI_GPG_KEYRING2" | base64 -d > ~/.gnupg/pubring.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: - "helm sigstore upload ./build/dbrepo-${CHART_VERSION}.tgz" -- GitLab