mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 10:10:09 +08:00 
			
		
		
		
	docs: gcr does not support base64-encoded keys
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									3b8fed7e4b
								
							
						
					
					
						commit
						fe7fd06c5d
					
				| @ -199,8 +199,7 @@ jobs: | |||||||
| Use a service account with permission to push to GCR and [configure access control](https://cloud.google.com/container-registry/docs/access-control). | Use a service account with permission to push to GCR and [configure access control](https://cloud.google.com/container-registry/docs/access-control). | ||||||
| Download the key for the service account as a JSON file. Save the contents of | Download the key for the service account as a JSON file. Save the contents of | ||||||
| the file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) | the file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository) | ||||||
| named `GCR_JSON_KEY` in your GitHub repository. Set the username to `_json_key`, | named `GCR_JSON_KEY` in your GitHub repository. Set the username to `_json_key`. | ||||||
| or `_json_key_base64` if you use a base64-encoded key. |  | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| name: ci | name: ci | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 David Karlsson
						David Karlsson