-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.03 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
- uses: bitwarden/sm-action@v2
with:
access_token: ${{ secrets.BW_ACCESS_TOKEN }}
base_url: https://vault.bitwarden.com
secrets: |
568fd648-901a-4161-85e4-b1c500b3cb94 > GPG_KEYRING_BASE64
ffb60bb8-8422-4d3b-95a1-b20700fb5232 > GPG_PASSPHRASE
- name: Prepare GPG key
run: |
./hack/gpg.sh \
"${GPG_KEYRING_BASE64}" \
"${GPG_PASSPHRASE}" \
"${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