added dependancy building
All checks were successful
Package and publish helm chart / package-helm (push) Successful in 15s

This commit is contained in:
Jonas Forsberg 2024-11-11 15:24:23 +01:00
parent 13c879d1d5
commit f08bcc331d

View File

@ -40,6 +40,8 @@ jobs:
cd ${REPO_PATH}/${chart} cd ${REPO_PATH}/${chart}
CHART_NAME=$(yq .name Chart.yaml) CHART_NAME=$(yq .name Chart.yaml)
CHART_VERSION=$(yq .version Chart.yaml) CHART_VERSION=$(yq .version Chart.yaml)
echo "Building dependancies for helm-chart"
helm dependency build
echo "Packaging ${CHART_NAME}-${CHART_VERSION}" echo "Packaging ${CHART_NAME}-${CHART_VERSION}"
helm package . helm package .
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file $CHART_NAME-$CHART_VERSION.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file $CHART_NAME-$CHART_VERSION.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts