diff --git a/.github/workflows/on-push-main-publish-chart.yml b/.github/workflows/on-push-main-publish-chart.yml new file mode 100644 index 0000000..ab1f2eb --- /dev/null +++ b/.github/workflows/on-push-main-publish-chart.yml @@ -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 }}" \ No newline at end of file diff --git a/charts/k6-loadtester/Chart.yaml b/charts/k6-loadtester/Chart.yaml index 3eb9106..d77bb11 100644 --- a/charts/k6-loadtester/Chart.yaml +++ b/charts/k6-loadtester/Chart.yaml @@ -16,5 +16,5 @@ maintainers: - name: julienduchesne annotations: artifacthub.io/changes: |- - - kind: updated - description: Support initContainers and arbitrary volumes \ No newline at end of file + - kind: added + description: Initial release