bake: preserve git subdir in remote bake context paths
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -565,12 +565,12 @@ COPY super-cool.txt /
|
||||
}{
|
||||
{
|
||||
name: "no ref",
|
||||
expectedContext: addr,
|
||||
expectedContext: addr + "#:bar",
|
||||
},
|
||||
{
|
||||
name: "branch ref",
|
||||
ref: "main",
|
||||
expectedContext: addr + "#main",
|
||||
expectedContext: addr + "#main:bar",
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user