mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	Merge pull request #1397 from markhildreth-gravity/patch-1
Correct documentation on gha scopes
This commit is contained in:
		
							
								
								
									
										2
									
								
								docs/manuals/cache/backends/gha.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/manuals/cache/backends/gha.md
									
									
									
									
										vendored
									
									
								
							@@ -64,7 +64,7 @@ leaving only the final cache.
 | 
				
			|||||||
To preserve the cache for multiple builds on the same branch, you can manually
 | 
					To preserve the cache for multiple builds on the same branch, you can manually
 | 
				
			||||||
specify a cache scope name using the `scope` parameter. In the following
 | 
					specify a cache scope name using the `scope` parameter. In the following
 | 
				
			||||||
example, the cache is set to a combination of the branch name and the image
 | 
					example, the cache is set to a combination of the branch name and the image
 | 
				
			||||||
name, to ensure each branch gets its own cache):
 | 
					name, to ensure each image gets its own cache):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```console
 | 
					```console
 | 
				
			||||||
$ docker buildx build --push -t <registry>/<image> \
 | 
					$ docker buildx build --push -t <registry>/<image> \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user