chore: enhance devcontainer setup with GPG keyring support and improved signing process

This commit is contained in:
Denys Vuika
2026-07-08 12:55:30 +00:00
parent e23950338c
commit b40dfdd1f3
4 changed files with 21 additions and 13 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
if [ -f .git/signing.pub ]; then
# If pubring.kbx is bind-mounted read-only from host, skip import fallback.
if [ -f .git/signing.pub ] && [[ ! -f "${HOME}/.gnupg/pubring.kbx" || -w "${HOME}/.gnupg/pubring.kbx" ]]; then
gpg --import .git/signing.pub
fi