feat: initial
This commit is contained in:
		
							parent
							
								
									71cf4bac47
								
							
						
					
					
						commit
						5e4c286287
					
				
							
								
								
									
										16
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | |||||||
|  | FROM appleboy/drone-ssh | ||||||
|  | 
 | ||||||
|  | # Github labels | ||||||
|  | LABEL "com.github.actions.name"="SSH Commands" | ||||||
|  | LABEL "com.github.actions.description"="Executing remote ssh commands" | ||||||
|  | LABEL "com.github.actions.icon"="terminal" | ||||||
|  | LABEL "com.github.actions.color"="gray-dark" | ||||||
|  | 
 | ||||||
|  | LABEL "repository"="https://github.com/appleboy/ssh-action" | ||||||
|  | LABEL "homepage"="https://github.com/appleboy" | ||||||
|  | LABEL "maintainer"="Bo-Yi Wu <appleboy.tw@gmail.com>" | ||||||
|  | LABEL "version"="0.0.1" | ||||||
|  | 
 | ||||||
|  | ADD entrypoint.sh /entrypoint.sh | ||||||
|  | RUN chmod +x /entrypoint.sh | ||||||
|  | ENTRYPOINT ["/entrypoint.sh"] | ||||||
| @ -1,2 +1,3 @@ | |||||||
| # ssh-action | # ssh-action | ||||||
|  | 
 | ||||||
| GitHub Action for executing remote ssh commands. | GitHub Action for executing remote ssh commands. | ||||||
|  | |||||||
							
								
								
									
										7
									
								
								entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								entrypoint.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,7 @@ | |||||||
|  | #!/bin/sh | ||||||
|  | 
 | ||||||
|  | set -eu | ||||||
|  | 
 | ||||||
|  | export GITHUB="true" | ||||||
|  | 
 | ||||||
|  | sh -c "/bin/drone-ssh $*" | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu