Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Oct 23, 2024
1 parent 7ab63c9 commit 17affed
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,8 @@ jobs:
git config user.email "[email protected]"
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Export GPG key to legacy format
run: gpg --export-secret-keys > ~/.gnupg/pubring.gpg
run: |
echo -e "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg
- name: Set up Helm
uses: azure/setup-helm@v4
Expand All @@ -52,7 +48,8 @@ jobs:
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1
with:
config: cr.yaml
env:
CR_KEY: ${{ secrets.CR_KEY }}
CR_KEYRING: keyring.gpg
CR_SIGN: true
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 17affed

Please sign in to comment.