Skip to content

Commit

Permalink
add chart release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Shinya Hayashi <[email protected]>
  • Loading branch information
peng225 committed Jun 25, 2024
1 parent 4197da4 commit 167743c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is the config file for helm/chart-releaser
owner: cybozu-go
git-repo: mantle
release-name-template: "{{ .Name }}-chart-v{{ .Version }}"
24 changes: 24 additions & 0 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Release 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 167743c

Please sign in to comment.