Merge pull request #2229 from nextcloud/enh/nod/update-helm-chart-updates

update helm-chart updates
This commit is contained in:
Simon L 2023-03-30 11:27:47 +02:00 committed by GitHub
commit cb3d8d6b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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