Skip to content

Commit

Permalink
github: add helm release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sterchelen committed Mar 29, 2023
1 parent d148a22 commit 9b2b325
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .chart_releaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
release-name-template: "helm-{{ .Name }}-{{ .Version }}"
charts-dir: charts
charts-repo-url: https://backmarket-oss.github.io/raccoon
owner: backmarket-oss
31 changes: 31 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release Charts

on:
push: {}

jobs:
release:
permissions:
contents: write
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: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
config: .chart_releaser.yml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 9b2b325

Please sign in to comment.