mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +08:00 
			
		
		
		
	Added image to docs
This commit is contained in:
		
							parent
							
								
									85515dd2a8
								
							
						
					
					
						commit
						5a412131fb
					
				
							
								
								
									
										4
									
								
								DOCS.md
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								DOCS.md
									
									
									
									
									
								
							| @ -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 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Boerger
						Thomas Boerger