sddfsf
Some checks failed
Release / publish-chart (push) Failing after 14s
continuous-integration/drone/pr Build is passing
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 16s
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2025-01-12 15:48:50 +01:00
parent f5c88001d1
commit 2c08135e8c
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -30,6 +30,7 @@ jobs:
HELM_REPO_NAME: test
HELM_REPO_PASSWORD: ${{ secrets.HELM_REPO_PASSWORD }}
HELM_REPO_USERNAME: ${{ secrets.HELM_REPO_USERNAME }}
HELM_SERVER_HOST: ${{ variables.HELM_SERVER_HOST }}
run: |
REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)
PACKAGE_VERSION=${GITHUB_REF#refs/tags/}
@ -37,7 +38,7 @@ jobs:
echo $REPOSITORY_NAME
echo $PACKAGE_VERSION
helm repo add ${HELM_REPO_NAME} https://charts.cryptic.systems/${HELM_REPO_NAME}
helm repo add ${HELM_REPO_NAME} https://${HELM_SERVER_HOST}/${HELM_REPO_NAME}
helm dependency build
helm package --version "${PACKAGE_VERSION}" ./
helm cm-push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz ${HELM_REPO_NAME}