Added image to docs

This commit is contained in:
Thomas Boerger 2016-08-19 22:09:13 +02:00
parent 85515dd2a8
commit 5a412131fb
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6

View File

@ -26,7 +26,7 @@ It is highly recommended to put the **SSH_KEY** into a secret so it is not
exposed to users. This can be done using the drone-cli. exposed to users. This can be done using the drone-cli.
```bash ```bash
drone secret add --image=ssh \ drone secret add --image=plugins/ssh \
octocat/hello-world SSH_KEY @path/to/.ssh/id_rsa octocat/hello-world SSH_KEY @path/to/.ssh/id_rsa
``` ```
@ -46,6 +46,7 @@ Example configuration in your .drone.yml file for a single host:
```yaml ```yaml
pipeline: pipeline:
ssh: ssh:
image: plugins/ssh
host: foo.com host: foo.com
user: root user: root
port: 22 port: 22
@ -59,6 +60,7 @@ Example configuration in your .drone.yml file for multiple hosts:
```yaml ```yaml
pipeline: pipeline:
ssh: ssh:
image: plugins/ssh
host: host:
- foo.com - foo.com
- bar.com - bar.com