Fix issue of workDir not being used in the code (#49)
Some checks failed
CI checks / Check Input and Output enums (push) Has been cancelled
Link checker / Check links in markdown (push) Has been cancelled
CI checks / Check Distribution (push) Has been cancelled
CI checks / Run ESLint (push) Has been cancelled
Build from dockerfile / Build image using Buildah (push) Has been cancelled
Build / Build image using Buildah (push) Has been cancelled

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);
}