mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 18:20:10 +08:00 
			
		
		
		
	Merge pull request #10 from crazy-max/dockerhub-pat
Recommend DockerHub PAT
This commit is contained in:
		
						commit
						12054aedfd
					
				| @ -34,6 +34,9 @@ ___ | |||||||
| 
 | 
 | ||||||
| ### DockerHub | ### DockerHub | ||||||
| 
 | 
 | ||||||
|  | To authenticate against [DockerHub](https://hub.docker.com) it's strongly recommended to create a | ||||||
|  | [personal access token](https://docs.docker.com/docker-hub/access-tokens/) as an alternative to your password. | ||||||
|  | 
 | ||||||
| ```yaml | ```yaml | ||||||
| name: ci | name: ci | ||||||
| 
 | 
 | ||||||
| @ -50,7 +53,7 @@ jobs: | |||||||
|         uses: docker/login-action@v1 |         uses: docker/login-action@v1 | ||||||
|         with: |         with: | ||||||
|           username: ${{ secrets.DOCKERHUB_USERNAME }} |           username: ${{ secrets.DOCKERHUB_USERNAME }} | ||||||
|           password: ${{ secrets.DOCKERHUB_PASSWORD }} |           password: ${{ secrets.DOCKERHUB_TOKEN }} | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### GitHub Packages Docker Registry | ### GitHub Packages Docker Registry | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax