feat(actions): Add release workflow

This commit is contained in:
plcnk
2024-08-12 17:10:36 +02:00
parent 1850f08a49
commit d519464ace

30
.github/workflows/release.yaml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Release Charts
on:
workflow_dispatch:
push:
branches:
- master
paths:
- charts/**
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
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 "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"