chore: use helm-publisher action for chart release
This commit is contained in:
parent
dba655d6e8
commit
8c7d1f8fa6
15
.github/workflows/docker.yml
vendored
15
.github/workflows/docker.yml
vendored
@ -153,3 +153,18 @@ jobs:
|
||||
|
||||
- name: Inspect manifest
|
||||
run: docker buildx imagetools inspect mauriceboe/trek:latest
|
||||
|
||||
release-helm:
|
||||
runs-on: ubuntu-latest
|
||||
needs: version-bump
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Publish Helm chart
|
||||
uses: stefanprodan/helm-gh-pages@v1.7.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
charts_dir: charts
|
||||
|
||||
25
.github/workflows/helm-release.yml
vendored
25
.github/workflows/helm-release.yml
vendored
@ -1,25 +0,0 @@
|
||||
name: Release Helm Chart
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Helm Chart Releaser
|
||||
uses: helm/chart-releaser-action@v1.7.0
|
||||
with:
|
||||
config: |
|
||||
pages_branch: gh-pages
|
||||
charts_dir: charts
|
||||
Loading…
Reference in New Issue
Block a user