mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 01:53:42 +08:00 
			
		
		
		
	build: fixup resolvePaths for remote context path
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
		@@ -35,6 +35,11 @@ func TestResolvePaths(t *testing.T) {
 | 
			
		||||
			options: controllerapi.BuildOptions{ContextPath: "-"},
 | 
			
		||||
			want:    controllerapi.BuildOptions{ContextPath: "-"},
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			name:    "contextpath-ssh",
 | 
			
		||||
			options: controllerapi.BuildOptions{ContextPath: "git@github.com:docker/buildx.git"},
 | 
			
		||||
			want:    controllerapi.BuildOptions{ContextPath: "git@github.com:docker/buildx.git"},
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			name:    "dockerfilename",
 | 
			
		||||
			options: controllerapi.BuildOptions{DockerfileName: "test"},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user