v0.0.2
Pre-release
Pre-release
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_syft", version = "0.0.2")
syft_configure = use_extension("@rules_syft//syft:extensions.bzl", "syft")
syft_configure.toolchain(syft_version = "1.4.1")
use_repo(syft_configure, "syft_toolchains")
register_toolchains("@syft_toolchains//:all")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_syft",
sha256 = "02f91a6240f0c54da124c99e4d7917207a1e90007fc69340dff2bd9b92e8c957",
strip_prefix = "rules_syft-0.0.2",
url = "https://github.com/ihavespoons/rules_syft/releases/download/v0.0.2/rules_syft-v0.0.2.tar.gz",
)
load("@rules_syft//syft:repositories.bzl", "syft_register_toolchains")
syft_register_toolchains(
"syft",
syft_version = "1.4.1",
)
What's Changed
- Added example for multiarch sbom generation by @ihavespoons in #2
- chore: update tool versions by @betaboon in #3
- chore: Update BCR deployment specs by @ihavespoons in #6
- Remove Windows from test matrix by @ihavespoons in #7
- Updated presubmit to include bazel version matrix by @ihavespoons in #8
New Contributors
- @ihavespoons made their first contribution in #2
- @betaboon made their first contribution in #3
Full Changelog: v0.0.1...v0.0.2