2021-10-23 20:07:27 +00:00
|
|
|
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: |
|
2021-10-24 00:26:03 +00:00
|
|
|
ls -l $GITHUB_WORKSPACE
|
2021-10-23 20:07:27 +00:00
|
|
|
mkdir -p $GITHUB_WORKSPACE/charts
|
|
|
|
helm package . -d $GITHUB_WORKSPACE/charts
|
2021-10-24 00:26:03 +00:00
|
|
|
working-directory: ./dev/helm
|
2021-10-23 20:07:27 +00:00
|
|
|
|
|
|
|
- name: Generate Index
|
|
|
|
run: |
|
|
|
|
helm repo index .
|
|
|
|
ls -l
|
|
|
|
working-directory: $GITHUB_WORKSPACE/charts
|