Skip to content

Use GPG private key within GitHub Actions and Setup Java SDK #27165

Answered by bissim
bissim asked this question in Actions
Discussion options

You must be logged in to vote

@brightran,
Again, thank you for your concern.

As stated in the issue you kindly opened on actions-setup-java repository, thanks to @airquick intervention on issue 43 which I previously commented, the solution for the ioctl issue is to add a configuration section to Maven GPG plugin in project POM:

            <configuration>
              <!-- Prevent gpg from using pinentry programs -->
              <gpgArguments>
                <arg>--pinentry-mode</arg>
                <arg>loopback</arg>
              </gpgArguments>
            </configuration>

Along with first brightran answer to this thread, this closes my request for support.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
3 participants