Skip to content

Commit

Permalink
Add helm chart publishing workflow (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <davidy@funkypenguin.co.nz>

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
  • Loading branch information
funkypenguin and julienduchesne authored Sep 2, 2022
1 parent 2f411f4 commit 378155c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/on-push-main-publish-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish helm chart

on:
push:
branches:
- main
paths:
- 'charts/**'
- '.github/workflows/on-push-main-publish-chart.yml'
workflow_dispatch:

jobs:
publish-chart:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
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.1.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions charts/k6-loadtester/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ maintainers:
- name: julienduchesne
annotations:
artifacthub.io/changes: |-
- kind: updated
description: Support initContainers and arbitrary volumes
- kind: added
description: Initial release

0 comments on commit 378155c

Please sign in to comment.