mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 01:49:03 +00:00
Fix issue of workDir not being used in the code (#49)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
8fe53efc79
commit
65f18d484c
5 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue