Skip to content

Commit

Permalink
deps: update rules_oci to 1.4.2 (#2616)
Browse files Browse the repository at this point in the history
  • Loading branch information
malt3 authored Nov 20, 2023
1 parent 35abc3c commit 52f7afe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bazel/release/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ oci_sum_merge(
oci_push(
name = container["name"] + "_push",
image = container["oci"],
repotags = container["repotag_file"],
remote_tags = "//bazel/settings:tag",
repository_file = "//bazel/release:" + container["name"] + "_reponame",
)
for container in containers()
]
Expand Down
8 changes: 4 additions & 4 deletions bazel/toolchains/oci_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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-0.4.0",
strip_prefix = "rules_oci-1.4.2",
type = "tar.gz",
urls = [
"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",
"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",
],
sha256 = "d7b0760ba28554b71941ea0bbfd0a9f089bf250fd4448f9c116e1cb7a63b3933",
sha256 = "be1fce88d05dd0b946f3c874f8af1a473468ea4daba0b69b459a5866416e10d5",
)
3 changes: 2 additions & 1 deletion e2e/malicious-join/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ genrule(
oci_push(
name = "malicious-join_push",
image = ":malicious-join_image",
repotags = ":repotag.txt",
remote_tags = "//bazel/settings:tag",
repository_file = ":container_name",
)

sh_template(
Expand Down

0 comments on commit 52f7afe

Please sign in to comment.