Skip to content

chore(deps): update pre-commit hook compilerla/conventional-pre-commi… #20

chore(deps): update pre-commit hook compilerla/conventional-pre-commi…

chore(deps): update pre-commit hook compilerla/conventional-pre-commi… #20

Workflow file for this run

name: release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: fregante/setup-git-user@v2
- name: Prepare GPG key
env:
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
run: |
gpg_dir=.cr-gpg
mkdir "$gpg_dir"
keyring="$gpg_dir/secring.gpg"
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
passphrase_file="$gpg_dir/passphrase"
echo "$GPG_PASSPHRASE" > "$passphrase_file"
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
- uses: azure/setup-helm@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- id: releaser
uses: helm/chart-releaser-action@v1
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
charts_dir: ./anza-labs
config: .cr.yaml