From a521d1e0c79f9d5a5f6f9293f9d2b8335bf3bc8e Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Thu, 13 Mar 2025 15:28:38 +0100 Subject: [PATCH] Relative paths Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at> --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bef70c68da..1ee5c542a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -544,16 +544,16 @@ release-helm: - "docker logout ${CI_REGISTRY2_URL}" - "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}" - "mkdir -p ~/.gnupg" - - echo "$CI_GPG_KEYRING" | base64 -d > ~/.gnupg/secring.gpg - - echo "$CI_GPG_KEYRING2" | base64 -d > ~/.gnupg/pubring.gpg + - echo "$CI_GPG_KEYRING" | base64 -d > ./secring.gpg + - echo "$CI_GPG_KEYRING2" | base64 -d > ./pubring.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 - - "helm package ./helm/dbrepo --sign --key 'Martin Weise' --keyring ~/.gnupg/secring.gpg --destination ./build" + - "helm package ./helm/dbrepo --sign --key 'Martin Weise' --keyring ./secring.gpg --destination ./build" - "helm plugin install https://github.com/sigstore/helm-sigstore" script: - "helm push ./build/dbrepo-${CHART_VERSION}.tgz oci://${CI_REGISTRY2_URL}/helm" - - "helm sigstore upload ./build/dbrepo-${CHART_VERSION}.tgz" + - "helm sigstore upload --keyring ./pubring.gpg ./build/dbrepo-${CHART_VERSION}.tgz" release-docs: stage: release -- GitLab