Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
add helm-chart-releaser action
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Feb 18, 2024
1 parent 889578b commit 3108fb9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
owner: ushitora-anqou
git-repo: mahout
release-name-template: "{{ .Name }}-chart-v{{ .Version }}"
24 changes: 24 additions & 0 deletions .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Release Helm Charts"

on: "workflow_dispatch"

jobs:
release:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Configure Git"
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: "Run chart-releaser"
uses: helm/[email protected]
with:
config: ".cr.yaml"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 3108fb9

Please sign in to comment.