Skip to content

Commit 45e4d25

Browse files
author
Ben Gittins
committed
Fixing minor structure
1 parent fd37a3c commit 45e4d25

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release_prep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ http_archive(
4545
)
4646
EOF
4747

48-
awk 'f;/--SNIP--/{f=1}' e2e/smoke/WORKSPACE.bazel
48+
awk 'f;/--SNIP--/{f=1}' e2e/bzlmod/WORKSPACE.bazel
4949
echo "\`\`\`"

e2e/bzlmod/WORKSPACE.bazel

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ local_repository(
66
)
77

88
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-
)
159

1610
http_archive(
1711
name = "aspect_bazel_lib",
@@ -49,3 +43,11 @@ oci_pull(
4943
digest = "sha256:c9cf959fd83770dfdefd8fb42cfef0761432af36a764c077aed54bbc5bb25368",
5044
image = "docker.io/library/ubuntu",
5145
)
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+
)

0 commit comments

Comments
 (0)