Skip to content

Feature/v1.13 versions (#826) (#827) #20

Feature/v1.13 versions (#826) (#827)

Feature/v1.13 versions (#826) (#827) #20

Workflow file for this run

name: release
on:
push:
tags:
- 'kyverno-playground-chart-v*'
jobs:
helm-chart:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Helm
uses: azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0
with:
version: v3.10.3
- name: Set version
run: |
set -e
TAG=${{ github.ref_name }}
echo "CHART_VERSION=${TAG#kyverno-playground-chart-}" >> $GITHUB_ENV
- name: Run chart-releaser
uses: stefanprodan/helm-gh-pages@0ad2bb377311d61ac04ad9eb6f252fb68e207260 #v1.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
linting: off
charts_dir: charts
chart_version: ${{ env.CHART_VERSION }}