File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ http_archive(
45
45
)
46
46
EOF
47
47
48
- awk ' f;/--SNIP--/{f=1}' e2e/smoke /WORKSPACE.bazel
48
+ awk ' f;/--SNIP--/{f=1}' e2e/bzlmod /WORKSPACE.bazel
49
49
echo " \`\`\` "
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ local_repository(
6
6
)
7
7
8
8
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
9
- load ("@rules_syft//syft:repositories.bzl" , "syft_register_toolchains" )
10
-
11
- syft_register_toolchains (
12
- "syft" ,
13
- syft_version = "0.96.0" ,
14
- )
15
9
16
10
http_archive (
17
11
name = "aspect_bazel_lib" ,
@@ -49,3 +43,11 @@ oci_pull(
49
43
digest = "sha256:c9cf959fd83770dfdefd8fb42cfef0761432af36a764c077aed54bbc5bb25368" ,
50
44
image = "docker.io/library/ubuntu" ,
51
45
)
46
+
47
+ #---SNIP--- Below here is re-used in the workspace snippet published on releases
48
+ load ("@rules_syft//syft:repositories.bzl" , "syft_register_toolchains" )
49
+
50
+ syft_register_toolchains (
51
+ "syft" ,
52
+ syft_version = "0.96.0" ,
53
+ )
You can’t perform that action at this time.
0 commit comments