mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +08:00 
			
		
		
		
	fix: missing docker username and password
This commit is contained in:
		
							parent
							
								
									4aac8d87ab
								
							
						
					
					
						commit
						fcbdcf7197
					
				
							
								
								
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -11,14 +11,23 @@ pipeline: | |||||||
|       - go test -cover -coverprofile=coverage.out |       - go test -cover -coverprofile=coverage.out | ||||||
|       - go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo |       - go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo | ||||||
| 
 | 
 | ||||||
|   latest: |   publish: | ||||||
|     image: docker |     image: docker | ||||||
|     repo: plugins/ssh |     repo: plugins/ssh | ||||||
|  |     username: ${DOCKER_USERNAME} | ||||||
|  |     password: ${DOCKER_PASSWORD} | ||||||
|     tags: [ "latest", "1.0", "1" ] |     tags: [ "latest", "1.0", "1" ] | ||||||
|     when: |     when: | ||||||
|       branch: master |       branch: master | ||||||
|       event: push |       event: push | ||||||
| 
 | 
 | ||||||
|  |   notify: | ||||||
|  |       image: plugins/gitter | ||||||
|  |       webhook: ${GITTER_WEBHOOK} | ||||||
|  |       when: | ||||||
|  |         status: [ success, failure ] | ||||||
|  |         event: [ push, pull_request ] | ||||||
|  | 
 | ||||||
| plugin: | plugin: | ||||||
|   name: SSH |   name: SSH | ||||||
|   desc: Execute commands on a remote host through SSH |   desc: Execute commands on a remote host through SSH | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu