Merge pull request #4 from cpfarhood/feat/helm-oci-publish

Publish Helm chart to GHCR OCI registry
This commit was merged in pull request #4.
This commit is contained in:
2026-02-20 07:16:35 -05:00
committed by GitHub
+37
View File
@@ -0,0 +1,37 @@
name: Publish Helm Chart
on:
push:
branches:
- main
paths:
- 'chart/**'
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Log in to GHCR
run: |
helm registry login ghcr.io \
--username ${{ github.actor }} \
--password ${{ secrets.GITHUB_TOKEN }}
- name: Package chart
run: helm package chart/
- name: Push chart to GHCR
run: |
CHART_VERSION=$(helm show chart chart/ | grep '^version:' | awk '{print $2}')
helm push antigravity-${CHART_VERSION}.tgz oci://ghcr.io/cpfarhood/charts