Skip to content

Bump Alerta app 9.0.2 -> 9.0.3 #41

Bump Alerta app 9.0.2 -> 9.0.3

Bump Alerta app 9.0.2 -> 9.0.3 #41

Workflow file for this run

on:
pull_request:
branches:
- main
types:
- closed
paths:
- charts/**
jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
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@v1
with:
version: v3.5.2
- name: Prepare GPG key
run: |
gpg_dir=.cr-gpg
mkdir "$gpg_dir"
keyring="$gpg_dir/secring.gpg"
base64 -d <<< "$GPG_KEY_BASE64" > "$keyring"
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
env:
GPG_KEY_BASE64: "${{ secrets.GPG_KEY_BASE64 }}"
- name: Add dependency chart repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/[email protected]
with:
config: cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"