diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2910cce50e03f4017f43f8b54ae8588ca379dc7..1826abe6680323e2b2a80463f4682461cdff0d5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -598,15 +598,13 @@ release-chart: except: refs: - release-latest - needs: - - build-helm before_script: - "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin $CI_REGISTRY2_URL" - "apk add sed helm curl" + - "helm package ./helm/dbrepo --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" release-docs: stage: release