Skip to content

Commit

Permalink
chore: add drone-ssh version.
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed May 14, 2019
1 parent 209258d commit d5e4d47
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM appleboy/drone-ssh
FROM appleboy/drone-ssh:1.5.0-linux-amd64

# Github labels
LABEL "com.github.actions.name"="SSH Commands"
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,24 @@ action "Multiple Commands" {

<img src="./images/multiple-command-result.png">

Multiple Hosts

```
action "Multiple Hosts" {
uses = "appleboy/ssh-action@master"
secrets = [
"KEY",
]
args = [
"--host", "foo.com",
"--host", "bar.com",
"--user", "actions",
"--script", "'whoami'",
"--script", "'ls -al'",
]
}
```

see the detail of `drone-ssh` command

```
Expand Down

0 comments on commit d5e4d47

Please sign in to comment.