sddfsf
Some checks failed
Some checks failed
This commit is contained in:
parent
f5c88001d1
commit
2c08135e8c
@ -30,6 +30,7 @@ jobs:
|
|||||||
HELM_REPO_NAME: test
|
HELM_REPO_NAME: test
|
||||||
HELM_REPO_PASSWORD: ${{ secrets.HELM_REPO_PASSWORD }}
|
HELM_REPO_PASSWORD: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||||
HELM_REPO_USERNAME: ${{ secrets.HELM_REPO_USERNAME }}
|
HELM_REPO_USERNAME: ${{ secrets.HELM_REPO_USERNAME }}
|
||||||
|
HELM_SERVER_HOST: ${{ variables.HELM_SERVER_HOST }}
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)
|
REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)
|
||||||
PACKAGE_VERSION=${GITHUB_REF#refs/tags/}
|
PACKAGE_VERSION=${GITHUB_REF#refs/tags/}
|
||||||
@ -37,7 +38,7 @@ jobs:
|
|||||||
echo $REPOSITORY_NAME
|
echo $REPOSITORY_NAME
|
||||||
echo $PACKAGE_VERSION
|
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 dependency build
|
||||||
helm package --version "${PACKAGE_VERSION}" ./
|
helm package --version "${PACKAGE_VERSION}" ./
|
||||||
helm cm-push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz ${HELM_REPO_NAME}
|
helm cm-push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz ${HELM_REPO_NAME}
|
||||||
|
Loading…
Reference in New Issue
Block a user