diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fc21c6..4c44305 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,14 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - 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 + - name: Set up Helm uses: azure/setup-helm@v4 with: @@ -44,5 +52,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1 + with: + config: cr.yaml env: CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}