deps: update rules_oci to 1.4.2 (#2616)

This commit is contained in:
Malte Poll 2023-11-20 14:19:05 +01:00 committed by GitHub
parent 35abc3c354
commit 52f7afe6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -62,7 +62,8 @@ oci_sum_merge(
oci_push( oci_push(
name = container["name"] + "_push", name = container["name"] + "_push",
image = container["oci"], image = container["oci"],
repotags = container["repotag_file"], remote_tags = "//bazel/settings:tag",
repository_file = "//bazel/release:" + container["name"] + "_reponame",
) )
for container in containers() for container in containers()
] ]

View File

@ -5,11 +5,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def oci_deps(): def oci_deps():
http_archive( http_archive(
name = "rules_oci", name = "rules_oci",
strip_prefix = "rules_oci-0.4.0", strip_prefix = "rules_oci-1.4.2",
type = "tar.gz", type = "tar.gz",
urls = [ urls = [
"https://cdn.confidential.cloud/constellation/cas/sha256/d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933", "https://cdn.confidential.cloud/constellation/cas/sha256/be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5",
"https://github.com/bazel-contrib/rules_oci/releases/download/v0.4.0/rules_oci-v0.4.0.tar.gz", "https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.2/rules_oci-v1.4.2.tar.gz",
], ],
sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933", sha256 = "be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5",
) )

View File

@ -67,7 +67,8 @@ genrule(
oci_push( oci_push(
name = "malicious-join_push", name = "malicious-join_push",
image = ":malicious-join_image", image = ":malicious-join_image",
repotags = ":repotag.txt", remote_tags = "//bazel/settings:tag",
repository_file = ":container_name",
) )
sh_template( sh_template(