Skip to content

Commit

Permalink
ADD .github/workflows/charts-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Kastl committed Mar 22, 2022
1 parent 6003aed commit 034bd52
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/charts-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "Charts: Release"

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'charts/**'
- '!charts/**/README.md'
- '!charts/**/README.md.gotmpl'

jobs:
release:
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
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: Install Helm
uses: azure/setup-helm@v1.1
with:
version: v3.5.4

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 034bd52

Please sign in to comment.