Helm Chart Release #173
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: Helm Chart Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "Version to deploy" | |
required: true | |
type: string | |
jobs: | |
helm-chart: | |
permissions: | |
contents: write | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Configure Git | |
run: | | |
git config user.name "DevOps" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
- name: Package | |
run: | | |
rm -rf .cr-release-packages | |
mkdir -p .cr-release-packages | |
helm package "charts/lunar-proxy" --version v${{ inputs.version }} --app-version v${{ inputs.version }} --destination=.cr-release-packages | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
skip_packaging: true | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |