Skip to content

fix: multiple pod Labels/Annotations fail rendering #1

fix: multiple pod Labels/Annotations fail rendering

fix: multiple pod Labels/Annotations fail rendering #1

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
permissions:
contents: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
id: install
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Charts to GHCR
run: |
if [ -d ".cr-release-packages" ]; then
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci:https://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts
done
else
echo "Directory .cr-release-packages does not exist."
fi