mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: Release Charts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
paths:
|
|
- "helm/**"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
- name: Install Helm
|
|
uses: azure/setup-helm@v1
|
|
with:
|
|
version: v3.5.4
|
|
|
|
- name: Add bitnami repo dependency
|
|
run: helm repo add bitnami https://charts.bitnami.com/bitnami
|
|
|
|
- name: Run chart-releaser
|
|
uses: ./.github/actions/chart-releaser-action
|
|
with:
|
|
charts_dir: helm
|
|
env:
|
|
CR_TOKEN: "${{ github.token }}"
|
|
CR_RELEASE_NAME_TEMPLATE: "superset-helm-chart-{{ .Version }}"
|