Skip to content

Commit

Permalink
Build helm packages and publish to GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
faridco committed Apr 8, 2024
1 parent 0aaa0bc commit 477e82c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Package

on:
push:
branches:
- main

jobs:
release:
name: Release chart
runs-on: ubuntu-latest

permissions:
contents: write # needed to write releases

steps:
- name: Checkout master
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
# Fetch entire history. Required for chart-releaser; see https://github.com/helm/chart-releaser-action/issues/13#issuecomment-602063896
fetch-depth: 0

- name: Setup
shell: bash
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Helm Chart Releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
env:
CR_SKIP_EXISTING: true
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: .

0 comments on commit 477e82c

Please sign in to comment.