Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help requested configuring artifact signing under GitHub Actions #1156

Closed
gavincabbage opened this issue Sep 24, 2019 · 3 comments
Closed

Help requested configuring artifact signing under GitHub Actions #1156

gavincabbage opened this issue Sep 24, 2019 · 3 comments

Comments

@gavincabbage
Copy link

Creating a separate issue to continue discussion with @crazy-max from #1149.

I've configured goreleaser under GitHub actions on my project here. I was able to run successful test releases without signing enabled (which I deleted, because they were tests) but am unable to successfully release with signing enabled.

My release workflow is here and my goreleaser configuration is here.

When I push a tag the release workflow fails with the following error during the signing step:

release failed after 78.74s error=sign: gpg failed with ""

An example of a failure, with goreleaser's debugging enabled, can be found here.

The key is configured as a GitHub secret, and imports correctly in the step prior to running goreleaser. The configuration also runs successfully on a system with the same key imported when I run goreleaser release --skip-publish. The key does not have a passphrase (I started with one but decided tackle the simpler case first).

I've tried more permutations of configuration than I can possibly list over the past few days, but will give any suggestion a shot. Any ideas on getting a useful error out of gpg would also be appreciated.

@gavincabbage
Copy link
Author

@crazy-max I was able to add signing functionality by forking your goreleaser action. I'll clean that up and get a PR opened over there.

@crazy-max
Copy link
Member

@gavincabbage Nice!

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants