Fix issue of workDir not being used in the code

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-04-01 18:07:03 +05:30
parent 52712f56b0
commit 5130791711
5 changed files with 8 additions and 4 deletions

View file

@ -104,6 +104,10 @@ export class BuildahCli implements Buildah {
args.push("--arch");
args.push(settings.archs);
}
if (settings.workingdir) {
args.push("--workingdir");
args.push(settings.workingdir);
}
args.push(container);
return this.execute(args);
}