mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
chore: enhance devcontainer setup with GPG keyring support and improved signing process
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user