From 73eba88c705d8ba47971bf359c9f43ecd24d549b Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:18:15 +0100 Subject: [PATCH] Revert "deps: update rules_oci to 1.4.2 (#2616)" (#2618) This reverts commit 52f7afe6e509dfa19cda8811a5ec613d984f19e9. --- bazel/release/BUILD.bazel | 3 +-- bazel/toolchains/oci_deps.bzl | 8 ++++---- e2e/malicious-join/BUILD.bazel | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/bazel/release/BUILD.bazel b/bazel/release/BUILD.bazel index c39e5bf4ac..23738421dd 100644 --- a/bazel/release/BUILD.bazel +++ b/bazel/release/BUILD.bazel @@ -62,8 +62,7 @@ oci_sum_merge( oci_push( name = container["name"] + "_push", image = container["oci"], - remote_tags = "//bazel/settings:tag", - repository_file = "//bazel/release:" + container["name"] + "_reponame", + repotags = container["repotag_file"], ) for container in containers() ] diff --git a/bazel/toolchains/oci_deps.bzl b/bazel/toolchains/oci_deps.bzl index 90b35a5c7a..77f13f2b71 100644 --- a/bazel/toolchains/oci_deps.bzl +++ b/bazel/toolchains/oci_deps.bzl @@ -5,11 +5,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def oci_deps(): http_archive( name = "rules_oci", - strip_prefix = "rules_oci-1.4.2", + strip_prefix = "rules_oci-0.4.0", type = "tar.gz", urls = [ - "https://cdn.confidential.cloud/constellation/cas/sha256/be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5", - "https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.2/rules_oci-v1.4.2.tar.gz", + "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", ], - sha256 = "be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5", + sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933", ) diff --git a/e2e/malicious-join/BUILD.bazel b/e2e/malicious-join/BUILD.bazel index 3f78a37a84..0075cdf454 100644 --- a/e2e/malicious-join/BUILD.bazel +++ b/e2e/malicious-join/BUILD.bazel @@ -67,8 +67,7 @@ genrule( oci_push( name = "malicious-join_push", image = ":malicious-join_image", - remote_tags = "//bazel/settings:tag", - repository_file = ":container_name", + repotags = ":repotag.txt", ) sh_template(