From 6d47983c6b620541c8ba0524b031209959ba3524 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 23 Oct 2021 16:07:27 -0400 Subject: [PATCH] misc: add helm chart build action (#4627) --- .github/workflows/helm.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/helm.yml diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml new file mode 100644 index 00000000..af1f6226 --- /dev/null +++ b/.github/workflows/helm.yml @@ -0,0 +1,30 @@ +name: Helm CI + +on: + # Triggers the workflow on push or pull request events but only for the dev branch + push: + branches: [ dev ] + paths: [ dev/helm/** ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Generate Chart Archive + run: | + mkdir -p $GITHUB_WORKSPACE/charts + helm package . -d $GITHUB_WORKSPACE/charts + working-directory: $GITHUB_WORKSPACE/dev/helm + + - name: Generate Index + run: | + helm repo index . + ls -l + working-directory: $GITHUB_WORKSPACE/charts