Helm Chart release for Verne to charts branch #5
This file contains hidden or 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: Helm Chart Release | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| paths: | |
| - 'helm/verne/**' | |
| workflow_dispatch: | |
| jobs: | |
| release-helm-verne: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: Set up Helm | |
| uses: azure/[email protected] | |
| with: | |
| version: 'latest' | |
| - name: Authenticate GitHub Container Registry | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: echo $GITHUB_TOKEN | helm registry login ghcr.io -u ShubhamTiwary914 --password-stdin | |
| - name: Package Helm chart | |
| run: helm package helm/verne --destination $RUNNER_TEMP | |
| - name: Push Helm chart to GHCR | |
| run: helm push $RUNNER_TEMP/verne-*.tgz oci://ghcr.io/shubhamtiwary914/logcore/helm-charts | |
| - name: Upload chart artifact (optional) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: verne-chart | |
| path: ./helm/release/verne-*.tgz |