38 lines
565 B
YAML
38 lines
565 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default-ssh-pipeline
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: greeting
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host:
|
|
from_secret: docker_host
|
|
username:
|
|
from_secret: docker_user
|
|
key:
|
|
from_secret: docker_privkey
|
|
port: 2200
|
|
script:
|
|
- id
|
|
- whoami
|
|
- uname -a
|
|
- docker ps -a
|
|
|
|
# ---
|
|
# kind: pipeline
|
|
# type: docker
|
|
# name: test-secrets-pipeline
|
|
|
|
# steps:
|
|
# - name: test-secrets
|
|
# image: alpine
|
|
# environment:
|
|
# HOST:
|
|
# from_secret: docker_host
|
|
# commands:
|
|
# - env
|