mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:28:50 +08:00 
			
		
		
		
	 414642efdb
			
		
	
	414642efdb
	
	
	
		
			
			Move the options for the podman build doc to a common md that can be used by both podman build and podman farm build. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
		
			
				
	
	
	
		
			661 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			661 B
		
	
	
	
	
	
	
	
####> This option file is used in: ####> podman build, farm build ####> If file is edited, make sure the changes ####> are applicable to all of those.
--cache-to=image
Set this flag to specify a remote repository that is used to store cache images. Buildah attempts to push newly built cache image to the remote repository.
Note: Use the --cache-from option in order to use cache content in a remote repository.
Example
# populate a cache and also consult it
buildah build -t test --layers --cache-to registry/myrepo/cache --cache-from registry/myrepo/cache .
Note: --cache-to option is ignored unless --layers is specified.