Update Chart.yaml version #32
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-22.04 | |
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 "${{ github.actor }}@users.noreply.github.com" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare keys for signing | |
env: | |
SIGNING_KEY_BASE64: ${{ secrets.HELM_SIGNING_PRIVATE_KEY }} | |
SIGNING_KEY_PASSPHRASE_BASE64: ${{ secrets.HELM_SIGNING_PRIVATE_KEY_PASSPHRASE }} | |
KEY_PATH: ".gpg-dir" | |
SIGNING_KEY_PATH: ".gpg-dir/secring.gpg" | |
SIGNING_KEY_PASSPHRASE_PATH: ".gpg-dir/passphrase" | |
run: | | |
mkdir "$KEY_PATH" | |
base64 -d <<< "$SIGNING_KEY_BASE64" > "$SIGNING_KEY_PATH" | |
base64 -d <<< "$SIGNING_KEY_PASSPHRASE_BASE64" > "$SIGNING_KEY_PASSPHRASE_PATH" | |
echo "CR_PASSPHRASE_FILE=$SIGNING_KEY_PASSPHRASE_PATH" >> "$GITHUB_ENV" | |
echo "CR_KEYRING=$SIGNING_KEY_PATH" >> "$GITHUB_ENV" | |
- name: Add Keptn chart repo | |
run: helm repo add keptn https://charts.lifecycle.keptn.sh | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: ${{ secrets.KEPTN_BOT_TOKEN }} | |
with: | |
config: cr.yaml |