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: branches:
- main - main
paths: paths:
- 'helm-chart/**' - 'nextcloud-aio-helm-chart/**'
jobs: jobs:
release: release:
@ -40,7 +40,7 @@ jobs:
# TODO: switch back @main to a specific version like @v1.5.1 or higher # TODO: switch back @main to a specific version like @v1.5.1 or higher
uses: helm/chart-releaser-action@main uses: helm/chart-releaser-action@main
with: with:
charts_dir: helm-chart charts_dir: '.'
mark_as_latest: false mark_as_latest: false
env: env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 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 description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 4.7.0 version: 4.7.0
apiVersion: v2 apiVersion: v2

View file

@ -2,6 +2,9 @@
DOCKER_TAG="$1" DOCKER_TAG="$1"
# The logic needs the files in ./helm-chart
mv ./nextcloud-aio-helm-chart ./helm-chart
# Clean # Clean
rm -f ./helm-chart/values.yaml rm -f ./helm-chart/values.yaml
rm -rf ./helm-chart/templates rm -rf ./helm-chart/templates
@ -199,4 +202,9 @@ done
chmod 777 -R ./ 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 set +ex