GCrypt/.drone.yml
Leon Etienne ac1079f9f4
All checks were successful
continuous-integration/drone/push Build is passing
Update '.drone.yml'
2022-10-25 20:38:40 +00:00

26 lines
635 B
YAML

kind: pipeline
type: kubernetes
name: cicd-pipeline
steps:
- name: all-tmp
image: ubuntu
environment:
SSH_PRIV:
from_secret: ssh-priv
SSH_PUB:
from_secret: ssh-pub
commands:
# - cd "GCryptLib/doxygen"
- apt-get update
- apt-get install openssh-client -y
- eval "$(ssh-agent -s)"
- mkdir -p ~/.ssh
- echo "$SSH_PRIV" > ~/.ssh/id_rsa
- echo "$SSH_PUB" > ~/.ssh/id_rsa.pub
- chmod 600 ~/.ssh/id_rsa
- chmod 644 ~/.ssh/id_rsa.pub
- cat ~/.ssh/id_rsa.pub
- cat ~/.ssh/id_rsa
- ssh-add