Replies: 2 comments 1 reply
-
Frankly speaking I have exactly same issue - tried already with different keys, with password and without and result is the same. |
Beta Was this translation helpful? Give feedback.
1 reply
-
that error seems to indicate the private key was not present... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using goreleaser to compile/sign a terraform provider. Everything works up until the action tries to sign the artifacts:
[• creating archive=dist/terraform-provider-name_0.0.3_darwin_amd64.zip
• took: 13s
• calculating checksums
• signing artifacts
• signing cmd=gpg artifact=terraform-provider-name_0.0.3_SHA256SUMS signature=dist/terraform-provider-name_0.0.3_SHA256SUMS.sig
⨯ release failed after 7m24s error=sign: gpg failed: exit status 2: gpg: skipped "50C580476CD7D5677196E0F7AEEE69224FXXXXXX": No secret key
gpg: signing failed: No secret key
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.1.0/x64/goreleaser' failed with exit code 1](url)
I have the GPG_PRIVATE_KEY and PASSPHRASE configured as repository secrets in my repo.
I have double checked the key value, it is exactly what I am using to sign my commits so I know it should work.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions