auto-format #20
@ -135,12 +135,15 @@ steps:
|
||||
- gpg-agent --daemon
|
||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||
- gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||
- echo "#!/bin/sh" >> /tmp/gpg.sh
|
||||
- echo "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@"
|
||||
- chmod 777 /tmp/gpg.sh
|
||||
|
||||
- git config --local user.name "WANessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
- git config --local user.signingkey "$GPG_PUBKEY_ID"
|
||||
#- git config --local gpg.program "gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE'"
|
||||
- git config --local gpg.program "/usr/bin/gpg"
|
||||
- git config --local gpg.program "/tmp/gpg.sh"
|
||||
# Uncomment below line for ssh debugging
|
||||
# - git config core.sshCommand '/usr/bin/ssh -v'
|
||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||
|
Reference in New Issue
Block a user