fix fetching of task image
@@ -157,6 +157,7 @@ func (i *imageResourceFetcher) Fetch(
processSpec := runtime.ProcessSpec{
Path: "/opt/resource/in",
Args: []string{resource.ResourcesDir("get")},
+ Dir: resource.ResourcesDir("get"),
StdoutWriter: i.imageFetchingDelegate.Stdout(),
StderrWriter: i.imageFetchingDelegate.Stderr(),
}
