From 5cc7adcfadc58d05cdc7677fb4b5263f77021038 Mon Sep 17 00:00:00 2001 From: Farid Bagishev Date: Mon, 8 Apr 2024 19:51:58 +0500 Subject: [PATCH] Build helm packages and publish to GH pages --- .github/workflows/package.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/package.yaml diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml new file mode 100644 index 0000000..206cee0 --- /dev/null +++ b/.github/workflows/package.yaml @@ -0,0 +1,31 @@ +name: Package + +on: + push: + branches: + - main + +jobs: + release: + name: Release chart + runs-on: ubuntu-latest + 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: .