Skip to content

add 'lint and test charts' badge (#31) #29

add 'lint and test charts' badge (#31)

add 'lint and test charts' badge (#31) #29

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
env:
HELM_VERSION: 3.15.3
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: "v${{ env.HELM_VERSION }}"
- name: Import GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg
echo "${{ secrets.GPG_PASSPHRASE }}" > gpg_passphrase_file
- name: Add dependency chart repos
run: |
helm repo add jdstone https://charts.jdstone.dev
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
config: cr.yaml
env:
CR_PASSPHRASE_FILE: gpg_passphrase_file
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"