Using WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rule_oci_bundle",
sha256 = "13801dbad2e9e90b4c29609939cc4f1c51e1f164c79037b7b8611028a83d275b",
strip_prefix = "rule_oci_bundle-0.0.2",
url = "https://github.com/hunshcn/rule_oci_bundle/releases/download/v0.0.2/rule_oci_bundle-v0.0.2.tar.gz",
)
# no deps, suppose you have loaded rules_oci.