From 050e0e6efdc73cc07d4b5f598da3015b4efc7221 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 28 Mar 2023 14:43:00 +0800 Subject: [PATCH] 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 --- DOCS.md | 22 +++++++++++----------- README.md | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/DOCS.md b/DOCS.md index c41cd0f..982bf47 100644 --- a/DOCS.md +++ b/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 diff --git a/README.md b/README.md index c270a16..9e6177a 100644 --- a/README.md +++ b/README.md @@ -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: