Fix issue of workDir not being used in the code (#49)

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2021-04-05 09:56:33 +05:30 committed by GitHub
parent 8fe53efc79
commit 65f18d484c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 3 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);
}