Skip to content

fix: namespaces super admin #383

fix: namespaces super admin

fix: namespaces super admin #383

Workflow file for this run

name: HelmChart Release
on:
push:
branches:
- main
paths:
- "charts/**"
jobs:
release:
name: Publish release
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
# Temporoary skip existing charts
with:
skip_existing: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.16.1
- name: Github registry login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push HelmCharts to GHCR
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts
done