From 2472dc5b3fcda5e5125f43dcd8cbfc6e9ed3431e Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Fri, 20 Feb 2026 06:51:40 -0500 Subject: [PATCH] Add GitHub Actions workflow to publish Helm chart to GHCR OCI Packages chart/ and pushes to oci://ghcr.io/cpfarhood/charts on every push to main that touches chart/** files. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- .github/workflows/helm-release.yaml | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/helm-release.yaml diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml new file mode 100644 index 0000000..70aef7d --- /dev/null +++ b/.github/workflows/helm-release.yaml @@ -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