chore: rename Helm chart from antigravity to cpfarhood #6

Merged
cpfarhood merged 3 commits from chore/rename-chart-cpfarhood into main 2026-02-20 12:29:01 +00:00
2 changed files with 24 additions and 4 deletions
+23 -3
View File
@@ -9,7 +9,7 @@ on:
workflow_dispatch:
permissions:
contents: read
contents: write
packages: write
jobs:
@@ -18,10 +18,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Bump patch version
id: bump
run: |
CURRENT=$(grep '^version:' chart/Chart.yaml | awk '{print $2}')
MAJOR=$(echo $CURRENT | cut -d. -f1)
MINOR=$(echo $CURRENT | cut -d. -f2)
PATCH=$(echo $CURRENT | cut -d. -f3)
NEW_VERSION="${MAJOR}.${MINOR}.$((PATCH + 1))"
sed -i "s/^version: .*/version: ${NEW_VERSION}/" chart/Chart.yaml
echo "version=${NEW_VERSION}" >> $GITHUB_OUTPUT
- name: Commit version bump
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add chart/Chart.yaml
git commit -m "chore: bump chart version to ${{ steps.bump.outputs.version }} [skip ci]"
git push
- name: Log in to GHCR
run: |
helm registry login ghcr.io \
@@ -33,5 +54,4 @@ jobs:
- 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
helm push devcontainer-${{ steps.bump.outputs.version }}.tgz oci://ghcr.io/cpfarhood/charts
+1 -1
View File
@@ -1,5 +1,5 @@
apiVersion: v2
name: antigravity
name: devcontainer
description: Antigravity Dev Container with Happy Coder AI assistant
type: application
version: 0.1.0