mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 10:10:09 +08:00 
			
		
		
		
	Add example for login to Fly registry
Signed-off-by: Omachonu Ogali <oogali@gmail.com>
This commit is contained in:
		
							parent
							
								
									9780b0c442
								
							
						
					
					
						commit
						3ec6195bfc
					
				
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @ -24,6 +24,7 @@ ___ | ||||
|   * [OCI Oracle Cloud Infrastructure Registry (OCIR)](#oci-oracle-cloud-infrastructure-registry-ocir) | ||||
|   * [Quay.io](#quayio) | ||||
|   * [DigitalOcean](#digitalocean-container-registry) | ||||
|   * [Fly.io](#flyio) | ||||
| * [Customizing](#customizing) | ||||
|   * [inputs](#inputs) | ||||
| * [Contributing](#contributing) | ||||
| @ -495,6 +496,31 @@ jobs: | ||||
|           password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | ||||
| ``` | ||||
| 
 | ||||
| ### Fly.io | ||||
| 
 | ||||
| Use an [access token](https://fly.io/docs/security/tokens/) to authenticate to the | ||||
| container registry. | ||||
| 
 | ||||
| ```yaml | ||||
| name: ci | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: main | ||||
| 
 | ||||
| jobs: | ||||
|   login: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Login to Fly.io Container Registry | ||||
|         uses: docker/login-action@v3 | ||||
|         with: | ||||
|           registry: registry.fly.io | ||||
|           username: x | ||||
|           password: ${{ secrets.FLY_API_TOKEN }} | ||||
| ``` | ||||
| 
 | ||||
| ## Customizing | ||||
| 
 | ||||
| ### inputs | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Omachonu Ogali
						Omachonu Ogali