release chart (#1646) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release charts | |
# Only runs when charts are pushed | |
# Release charts | |
# | |
# NOTE: completion of this task will trigger verifyuserexperience.yaml | |
# which will test the released charts (with released image) | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- charts/** | |
jobs: | |
release-charts: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
config: config.yaml | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |