| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  | # https://help.github.com/en/articles/metadata-syntax-for-github-actions
 | 
					
						
							|  |  |  | name: 'Docker Login'
 | 
					
						
							|  |  |  | description: 'GitHub Action to login against a Docker registry'
 | 
					
						
							| 
									
										
										
										
											2020-08-21 14:48:16 +00:00
										 |  |  | author: 'docker'
 | 
					
						
							| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  | branding:
 | 
					
						
							| 
									
										
										
										
											2020-08-21 14:48:16 +00:00
										 |  |  |   icon: 'anchor'
 | 
					
						
							| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  |   color: 'blue'
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | inputs:
 | 
					
						
							|  |  |  |   registry:
 | 
					
						
							|  |  |  |     description: 'Server address of Docker registry. If not set then will default to Docker Hub'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  |   username:
 | 
					
						
							|  |  |  |     description: 'Username used to log against the Docker registry'
 | 
					
						
							| 
									
										
										
										
											2020-10-20 12:41:56 +00:00
										 |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  |   password:
 | 
					
						
							|  |  |  |     description: 'Password or personal access token used to log against the Docker registry'
 | 
					
						
							| 
									
										
										
										
											2020-10-20 12:41:56 +00:00
										 |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2021-12-20 09:59:11 +00:00
										 |  |  |   ecr:
 | 
					
						
							|  |  |  |     description: 'Specifies whether the given registry is ECR (auto, true or false)'
 | 
					
						
							|  |  |  |     default: 'auto'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  |   logout:
 | 
					
						
							|  |  |  |     description: 'Log out from the Docker registry at the end of a job'
 | 
					
						
							|  |  |  |     default: 'true'
 | 
					
						
							|  |  |  |     required: false
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | runs:
 | 
					
						
							| 
									
										
										
										
											2023-09-07 10:29:39 +00:00
										 |  |  |   using: 'node20'
 | 
					
						
							| 
									
										
										
										
											2020-08-15 12:45:36 +00:00
										 |  |  |   main: 'dist/index.js'
 | 
					
						
							|  |  |  |   post: 'dist/index.js'
 |