2023-01-30 11:15:59 -05:00
|
|
|
"""Bazel rules for building OCI images"""
|
|
|
|
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
def oci_deps():
|
|
|
|
http_archive(
|
2023-03-15 08:10:05 -04:00
|
|
|
name = "rules_oci",
|
2023-11-20 10:18:15 -05:00
|
|
|
strip_prefix = "rules_oci-0.4.0",
|
2023-04-03 12:13:34 -04:00
|
|
|
type = "tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-11-20 10:18:15 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
|
|
|
|
"https://github.com/bazel-contrib/rules_oci/releases/download/v0.4.0/rules_oci-v0.4.0.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
2023-11-20 10:18:15 -05:00
|
|
|
sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
|
2023-01-30 11:15:59 -05:00
|
|
|
)
|