Skip to content

Commit

Permalink
feat: gpg key step added
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgaOzen committed Jan 4, 2024
1 parent bb99f2f commit 1566d7e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,28 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email support@permify.co
- name: Install Helm
- name: Import GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg
echo "${{ secrets.PASSPHRASE }}" > passphrase-file.txt
- name: Set up Helm
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GH_TOKEN }}

- name: Add repositories
- name: Add Repositories
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
config: cr.yaml
env:
CR_KEY: Permify <support@permify.co>
CR_KEYRING: keyring.gpg
CR_PASSPHRASE_FILE: passphrase-file.txt
CR_SIGN: true
CR_TOKEN: "${{ secrets.GH_TOKEN }}"

0 comments on commit 1566d7e

Please sign in to comment.