mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-26 12:57:35 +08:00 
			
		
		
		
	Add note about dependabot
This commit is contained in:
		
							parent
							
								
									34e505eb5e
								
							
						
					
					
						commit
						12991b4d6c
					
				
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
								
							| @ -22,6 +22,7 @@ ___ | |||||||
|   * [AWS Elastic Container Registry (ECR)](#gitlab) |   * [AWS Elastic Container Registry (ECR)](#gitlab) | ||||||
| * [Customizing](#customizing) | * [Customizing](#customizing) | ||||||
|   * [inputs](#inputs) |   * [inputs](#inputs) | ||||||
|  | * [Keep up-to-date with GitHub Dependabot](#keep-up-to-date-with-github-dependabot) | ||||||
| * [Limitation](#limitation) | * [Limitation](#limitation) | ||||||
| * [How can I help?](#how-can-i-help) | * [How can I help?](#how-can-i-help) | ||||||
| * [License](#license) | * [License](#license) | ||||||
| @ -176,6 +177,22 @@ Following inputs can be used as `step.with` keys | |||||||
| | `password`       | String  |                             | Password or personal access token used to log against the Docker registry | | | `password`       | String  |                             | Password or personal access token used to log against the Docker registry | | ||||||
| | `logout`         | Bool    | `true`                      | Log out from the Docker registry at the end of a job | | | `logout`         | Bool    | `true`                      | Log out from the Docker registry at the end of a job | | ||||||
| 
 | 
 | ||||||
|  | ## Keep up-to-date with GitHub Dependabot | ||||||
|  | 
 | ||||||
|  | Since [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot) | ||||||
|  | has [native GitHub Actions support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem), | ||||||
|  | to enable it on your GitHub repo all you need to do is add the `.github/dependabot.yml` file: | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | version: 2 | ||||||
|  | updates: | ||||||
|  |   # Maintain dependencies for GitHub Actions | ||||||
|  |   - package-ecosystem: "github-actions" | ||||||
|  |     directory: "/" | ||||||
|  |     schedule: | ||||||
|  |       interval: "daily" | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ## Limitation | ## Limitation | ||||||
| 
 | 
 | ||||||
| This action is only available for Linux [virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources). | This action is only available for Linux [virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources). | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax