Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

v0.9.0 (#199)

v0.9.0 (#199) #13

Workflow file for this run

name: Publish Helm Chart to GHCR
on:
push:
tags:
- "v*.*.*"
jobs:
helm-chart-publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.14.4
- name: Log in to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Package Helm chart
run: |
helm package chart/semgrep-mcp --destination .
- name: Push Helm chart to GHCR
run: |
CHART_VERSION=$(cat chart/semgrep-mcp/Chart.yaml | grep '^version:' | awk '{print $2}')
helm push semgrep-mcp-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository_owner }}/charts