mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
docs: use ghcr.io/appleboy/drone-ssh image for SSH connections
- Update the `image` field to use `ghcr.io/appleboy/drone-ssh` in DOCS.md - Update the `image` field to use `ghcr.io/appleboy/drone-ssh` in README.md Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
f01d5d9454
commit
050e0e6efd
22
DOCS.md
22
DOCS.md
@ -5,14 +5,14 @@ author: appleboy
|
||||
tags: [ deploy, publish, ssh ]
|
||||
repo: appleboy/drone-ssh
|
||||
logo: term.svg
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
---
|
||||
|
||||
Use the SSH plugin to execute commands on a remote server. The below pipeline configuration demonstrates simple usage:
|
||||
|
||||
```yaml
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -27,7 +27,7 @@ Example configuration in your `.drone.yml` file for multiple hosts:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
+ - foo.com
|
||||
@ -44,7 +44,7 @@ Example configuration for multiple hosts with different port:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
+ - foo.com:1234
|
||||
@ -61,7 +61,7 @@ Example configuration for command timeout, default value is 60 seconds:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -77,7 +77,7 @@ Example configuration for execute commands on a remote server using `SSHProxyC
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -96,7 +96,7 @@ Example configuration using password from secrets:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -112,7 +112,7 @@ Example configuration using ssh key from secrets:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -128,7 +128,7 @@ Example configuration for exporting custom secrets:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
environment:
|
||||
commit: ${DRONE_BUILD_NUMBER}
|
||||
settings:
|
||||
@ -148,7 +148,7 @@ Example configuration for stoping script after first failure:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
@ -164,7 +164,7 @@ Example configuration for passphrase which protecting a private key:
|
||||
|
||||
```diff
|
||||
- name: ssh commands
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host: foo.com
|
||||
username: root
|
||||
|
@ -23,7 +23,7 @@ information and a listing of the available options please take a look at [the do
|
||||
```diff
|
||||
pipeline:
|
||||
scp:
|
||||
image: appleboy/drone-scp
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
- example1.com
|
||||
@ -85,7 +85,7 @@ docker run --rm \
|
||||
-e PLUGIN_SCRIPT=whoami \
|
||||
-v $(pwd):$(pwd) \
|
||||
-w $(pwd) \
|
||||
appleboy/drone-ssh
|
||||
ghcr.io/appleboy/drone-ssh
|
||||
```
|
||||
|
||||
## Mount key from file path
|
||||
@ -99,7 +99,7 @@ Mount private key in `volumes` setting of `.drone.yml` config
|
||||
```diff
|
||||
pipeline:
|
||||
ssh:
|
||||
image: appleboy/drone-ssh
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
host: xxxxx.com
|
||||
username: deploy
|
||||
+ volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user