Skip to content

Commit

Permalink
github: add helm-release workflow
Browse files Browse the repository at this point in the history
To automate helm release/packaging
  • Loading branch information
sterchelen committed Mar 29, 2023
1 parent d148a22 commit 33e95bf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
charts_dir: charts
charts_repo_url: https://backmarket-oss.github.io/raccoon
package-path: .helm-pkg

2 changes: 1 addition & 1 deletion charts/raccoon/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Ephemerality in kubernetes
name: raccoon
version: 1.0.0
version: 1.0.1
appVersion: 1.0.0
sources:
- https://github.com/backmarket-oss/raccoon
Expand Down

0 comments on commit 33e95bf

Please sign in to comment.