Skip to content
Snippets Groups Projects
Verified Commit 1c66dd16 authored by Martin Weise's avatar Martin Weise
Browse files

Debug the helm release logic

parent 3019bc56
No related branches found
No related tags found
No related merge requests found
......@@ -543,17 +543,17 @@ release-helm:
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
- "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 > ./secring.gpg
- echo "$CI_GPG_KEYRING2" | base64 -d > ./pubring.gpg
- echo "$CI_GPG_KEYRING" | base64 -d > ~/.gnupg/secring.gpg
- echo "$CI_GPG_KEYRING2" | base64 -d > ~/.gnupg/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 ./secring.gpg --destination ./build"
- ls -la ~/.gnupg
- "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 push ./build/dbrepo-${CHART_VERSION}.tgz oci://${CI_REGISTRY2_URL}/helm"
- "helm sigstore upload --keyring ./pubring.gpg ./build/dbrepo-${CHART_VERSION}.tgz"
- "helm sigstore upload --keyring ~/.gnupg/pubring.gpg ./build/dbrepo-${CHART_VERSION}.tgz"
release-docs:
stage: release
......
No preview for this file type
......@@ -4,9 +4,9 @@ dependencies:
version: 20.4.1
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 16.4.16
version: 16.5.2
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.30.0
digest: sha256:20dba9f2a4322ee4b5e734cc85f7f10a47a090b0cc34bf9c1658feb774fad06e
generated: "2025-03-04T21:41:17.631905476+01:00"
digest: sha256:ca62c637deb4d5b392b6f991e07058fbf105b5983f0478c8985d746ee45d5270
generated: "2025-03-18T11:35:37.156060217+01:00"
File deleted
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment