diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 3557696..88f7239 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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}