Revert "deps: update rules_oci to 1.4.2 (#2616)" (#2618)

This reverts commit 52f7afe6e509dfa19cda8811a5ec613d984f19e9.
This commit is contained in:
Malte Poll 2023-11-20 16:18:15 +01:00 committed by GitHub
parent 807824bf79
commit 73eba88c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 8 deletions

View File

@ -62,8 +62,7 @@ oci_sum_merge(
oci_push( oci_push(
name = container["name"] + "_push", name = container["name"] + "_push",
image = container["oci"], image = container["oci"],
remote_tags = "//bazel/settings:tag", repotags = container["repotag_file"],
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-1.4.2", strip_prefix = "rules_oci-0.4.0",
type = "tar.gz", type = "tar.gz",
urls = [ urls = [
"https://cdn.confidential.cloud/constellation/cas/sha256/be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5", "https://cdn.confidential.cloud/constellation/cas/sha256/d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
"https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.2/rules_oci-v1.4.2.tar.gz", "https://github.com/bazel-contrib/rules_oci/releases/download/v0.4.0/rules_oci-v0.4.0.tar.gz",
], ],
sha256 = "be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5", sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
) )

View File

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