flatpak / flatpak-github-actions

Build your Flatpak application using Github Actions
https://github.com/marketplace/actions/flatpak-builder
MIT License
157 stars 40 forks source link

How to GPG sign builds? #180

Open vadi2 opened 7 months ago

vadi2 commented 7 months ago

GPG signing is failing for me with:

FB: Running: flatpak build-export --arch=x86_64 --gpg-sign=*** '--exclude=/lib/debug/*' --include=/lib/debug/app '--exclude=/share/runtime/locale/*/*' /__w/Mudlet/Mudlet/repo flatpak_app master
error: Failure signing commit file: Pinentry: Inappropriate ioctl for device

According to https://stackoverflow.com/a/57591830/72944, setting the GPG_TTY environment variable should do it. Is there a way to have the action set it, or any other way to get GPG signing to work?