caddy-ingess/.github/workflows/release-chart.yml
2023-06-02 19:13:10 +02:00

31 lines
666 B
YAML

name: Release Charts
on:
push:
branches: [master]
paths:
- 'charts/**'
- '.github/workflows/release-chart.yml'
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 "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1
with:
charts_dir: charts
mark_as_latest: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"