fix: set no-tty flag for gpg
This commit is contained in:
parent
fb5a6d49f9
commit
9b948ee6c5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ RUN set -eux; \
|
|||
# User account setup
|
||||
RUN set -eux; \
|
||||
gpg --batch --keyserver keys.openpgp.org --recv-keys 86b02e72397343b766f005dd649ca4ebdc338394; \
|
||||
echo -e "5\ny\n" | gpg --command-fd=0 --edit-key 86b02e72397343b766f005dd649ca4ebdc338394 trust; \
|
||||
echo -e "5\ny\n" | gpg --no-tty --command-fd=0 --edit-key 86b02e72397343b766f005dd649ca4ebdc338394 trust; \
|
||||
git config --global user.name "Forgejo Actions"; \
|
||||
git config --global user.email "forgejo.actions@example.com"; \
|
||||
git config --global init.defaultBranch main
|
||||
|
|
Loading…
Add table
Reference in a new issue