Skip to content

Commit ca65284

Browse files
committed
perf: use hardlink
1 parent 57c7b75 commit ca65284

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

oci/private/pull.bzl

+2
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ load("@aspect_bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
330330
copy_to_directory(
331331
name = "{target_name}",
332332
out = "layout",
333+
# Always use hardlink to avoid having copies of the blobs from external repository in the output-tree.
334+
hardlink = "on",
333335
include_external_repositories = ["*"],
334336
srcs = [
335337
"blobs",

0 commit comments

Comments
 (0)