Skip to content

Helm Chart release for Verne to charts branch #5

Helm Chart release for Verne to charts branch

Helm Chart release for Verne to charts branch #5

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