update helm-chart updates

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-03-30 10:16:24 +02:00
parent 9c0ea8a23c
commit fe336cf6d8
37 changed files with 11 additions and 3 deletions

View file

@ -6,7 +6,7 @@ on:
branches:
- main
paths:
- 'helm-chart/**'
- 'nextcloud-aio-helm-chart/**'
jobs:
release:
@ -40,7 +40,7 @@ jobs:
# TODO: switch back @main to a specific version like @v1.5.1 or higher
uses: helm/chart-releaser-action@main
with:
charts_dir: helm-chart
charts_dir: '.'
mark_as_latest: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

View file

@ -1,4 +1,4 @@
name: Nextcloud AIO Helm Chart
name: nextcloud-aio-helm-chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 4.7.0
apiVersion: v2

View file

@ -2,6 +2,9 @@
DOCKER_TAG="$1"
# The logic needs the files in ./helm-chart
mv ./nextcloud-aio-helm-chart ./helm-chart
# Clean
rm -f ./helm-chart/values.yaml
rm -rf ./helm-chart/templates
@ -199,4 +202,9 @@ done
chmod 777 -R ./
# Seems like the dir needs to match the name of the chart
cd ../
rm -rf ./nextcloud-aio-helm-chart
mv ./helm-chart ./nextcloud-aio-helm-chart
set +ex