Merge pull request #7 from kilnfi/renovate/helm-3.x #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
actions: write | |
pull-requests: write | |
issues: write | |
contents: write | |
packages: write | |
jobs: | |
helm-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.8.0 | |
- name: 'helm:package:create' | |
run: | | |
for chart in charts/*; do helm package $chart; done | |
- name: 'helm:package:push' | |
run: | | |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username kilnfi --password-stdin | |
for package in $(find . -name "*.tgz" -maxdepth 1); do | |
helm push $package oci://ghcr.io/kilnfi/helm-charts/ | |
done |