This commit is contained in:
parent
ca25e8dfe8
commit
93b4944929
@ -19,10 +19,7 @@ steps:
|
|||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- eval $(ssh-agent -s)
|
- echo "SSH_KEY" >> /root/.ssh/id_rsa
|
||||||
- echo "$SSH_KEY" | ssh-add -
|
|
||||||
- mkdir -p ~/.ssh
|
|
||||||
- chmod 700 ~/.ssh
|
|
||||||
- echo "$GPG_PRIVATE_KEY" >> gpg.key
|
- echo "$GPG_PRIVATE_KEY" >> gpg.key
|
||||||
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||||
|
Loading…
Reference in New Issue
Block a user