You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a secret key that is usable in github action but this does not exist
Actual behaviour
Get the following error:
error=sign: gpg failed: exit status 2: gpg: skipped "16FD00780F650E14C1DADC0C7C6D3C2557522BBB": No secret key
| gpg: signing failed: No secret key
This is caused by no secret only public key
Configuration
PASSPRAHSE and GPG_PRIVATE_KEY are set in repo secrets as expected.
# Visit https://goreleaser.com for documentation on how to customize this# behavior.before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidybuilds:
- env:
# goreleaser does not work with CGO, it could also complicate# usage by users in CI/CD systems like Terraform Cloud where# they are unable to install libraries.
- CGO_ENABLED=0mod_timestamp: '{{ .CommitTimestamp }}'flags:
- -trimpathldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'goos:
- darwingoarch:
- arm64binary: '{{ .ProjectName }}_v{{ .Version }}'archives:
- format: zipname_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'algorithm: sha256signs:
- artifacts: checksumcmd: gpgargs: ['--batch', '--local-user', '{{ .Env.GPG_FINGERPRINT }}', '--output', '${signature}', '--detach-sign', '${artifact}']release:
extra_files:
- glob: 'terraform-registry-manifest.json'name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'# If you want to manually examine the release before its live, uncomment this line:# draft: truechangelog:
skip: true
The text was updated successfully, but these errors were encountered:
Behaviour
Steps to reproduce this issue
Expected behavior
There should be a secret key that is usable in github action but this does not exist
Actual behaviour
Get the following error:
This is caused by no secret only public key
Configuration
The text was updated successfully, but these errors were encountered: