added helm back

This commit is contained in:
Jonas Forsberg 2024-11-11 11:01:57 +01:00
parent e211d43dc7
commit 0d9a47f208

View File

@ -12,6 +12,11 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
name: Check out code name: Check out code
- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.14.4
- name: Get package name - name: Get package name
id: chart_name id: chart_name
uses: mikefarah/yq@master uses: mikefarah/yq@master
@ -34,4 +39,5 @@ jobs:
REPO_PATH=$(git rev-parse --show-toplevel) REPO_PATH=$(git rev-parse --show-toplevel)
mkdir /tmp/build mkdir /tmp/build
cd /tmp/build cd /tmp/build
helm package $REPO_PATH
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