File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Charts
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Configure Git
18+ run : |
19+ git config user.name "$GITHUB_ACTOR"
20+ git config user.email "[email protected] " 21+
22+ - name : Install Helm
23+ uses : azure/setup-helm@v1
24+ with :
25+ version : v3.4.0
26+
27+ - name : Prepare GPG key
28+ run : |
29+ gpg_dir=.cr-gpg
30+ mkdir "$gpg_dir"
31+
32+ keyring="$gpg_dir/secring.gpg"
33+ base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
34+
35+ passphrase_file="$gpg_dir/passphrase"
36+ echo "$GPG_PASSPHRASE" > "$passphrase_file"
37+
38+ echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
39+ echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
40+ env :
41+ GPG_KEYRING_BASE64 : " ${{ secrets.GPG_KEYRING_BASE64 }}"
42+ GPG_PASSPHRASE : " ${{ secrets.GPG_PASSPHRASE }}"
43+
44+ - name : Run chart-releaser
45+ 46+ with :
47+ charts_dir : charts
48+ config : ci/cr.yaml
49+ env :
50+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments