summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/build.go')
-rw-r--r--pkg/bindings/images/build.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/bindings/images/build.go b/pkg/bindings/images/build.go
index 937d05330..95d9d4df7 100644
--- a/pkg/bindings/images/build.go
+++ b/pkg/bindings/images/build.go
@@ -178,6 +178,9 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO
if options.LogRusage {
params.Set("rusage", "1")
}
+ if len(options.RusageLogFile) > 0 {
+ params.Set("rusagelogfile", options.RusageLogFile)
+ }
if len(options.Manifest) > 0 {
params.Set("manifest", options.Manifest)
}