Skip to content

Commit

Permalink
Set NFPM_PASSPHRASE.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoss committed Aug 8, 2024
1 parent 8db2663 commit 4e87407
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ on:
required: false
GPG_PRIVATE_KEY:
required: false
GPG_PRIVATE_KEY_PASSWORD:
required: false
GOOGLE_CLOUD_WORKLOAD_IDENTITY_PROVIDER:
required: false
GOOGLE_CLOUD_GITHUB_SERVICE_ACCOUNT:
required: false
GOOGLE_CLOUD_PACKAGES_PROJECT_ID:
required: false


jobs:
goreleaser:
name: Upload Assets To Github and Google Artifact Registry w/ goreleaser
Expand Down Expand Up @@ -115,6 +118,7 @@ jobs:
shell: bash
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Run GoReleaser Pro
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
Expand All @@ -124,6 +128,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_PAT }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
NFPM_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit 4e87407

Please sign in to comment.