mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 01:40:11 +08:00 
			
		
		
		
	Merge 13f19da876 into bdf14dc173
				
					
				
			This commit is contained in:
		
						commit
						df8d4d373b
					
				
							
								
								
									
										38
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								README.md
									
									
									
									
									
								
							| @ -24,6 +24,7 @@ ___ | |||||||
|   * [OCI Oracle Cloud Infrastructure Registry (OCIR)](#oci-oracle-cloud-infrastructure-registry-ocir) |   * [OCI Oracle Cloud Infrastructure Registry (OCIR)](#oci-oracle-cloud-infrastructure-registry-ocir) | ||||||
|   * [Quay.io](#quayio) |   * [Quay.io](#quayio) | ||||||
|   * [DigitalOcean](#digitalocean-container-registry) |   * [DigitalOcean](#digitalocean-container-registry) | ||||||
|  |   * [Buildkite Packages](#buildkite-package-registry) | ||||||
| * [Customizing](#customizing) | * [Customizing](#customizing) | ||||||
|   * [inputs](#inputs) |   * [inputs](#inputs) | ||||||
| * [Contributing](#contributing) | * [Contributing](#contributing) | ||||||
| @ -494,6 +495,43 @@ jobs: | |||||||
|           password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} |           password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ### Buildkite Package Registry | ||||||
|  | 
 | ||||||
|  | Use your Buildkite registered email address to generate an API access token to authenticate. U | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | name: ci | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: main | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   login: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - | ||||||
|  |         name: Login to Buildkite Package Registry | ||||||
|  |         uses: docker/login-action@v3 | ||||||
|  |         with: | ||||||
|  |           registry: packages.buildkite.com | ||||||
|  |           username: buildkite #All usernames to buildkite packages is "buildkite".  | ||||||
|  |           password: ${{ secrets.BUILDKITE_ACCESS_TOKEN }} | ||||||
|  | ``` | ||||||
|  | **Useful references:** | ||||||
|  | [Buildkite package Registry](https://buildkite.com/docs/package-registries) | ||||||
|  | 
 | ||||||
|  | Go to your Buildkite Org/Buildkite Package registry to generate a token | ||||||
|  | 
 | ||||||
|  | **Working pipeline example:** [https://gist.github.com/kleeadrian/f096878f76b5fb759976adce9550c9a5](https://gist.github.com/kleeadrian/f096878f76b5fb759976adce9550c9a5) | ||||||
|  | 
 | ||||||
|  | **Scope required:** | ||||||
|  | ``` | ||||||
|  | read_registries | ||||||
|  | write_registries | ||||||
|  | read_packages | ||||||
|  | write_packages | ||||||
|  | ``` | ||||||
| ## Customizing | ## Customizing | ||||||
| 
 | 
 | ||||||
| ### inputs | ### inputs | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Adrian Lee
						Adrian Lee