diff --git a/WORKSPACE b/WORKSPACE index a19c6b80a..552116744 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -130,9 +130,9 @@ aspect_bazel_lib_register_toolchains() http_archive( name = "rules_oci", - sha256 = "c71c25ed333a4909d2dd77e0b16c39e9912525a98c7fa85144282be8d04ef54c", - strip_prefix = "rules_oci-1.3.4", - url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.3.4/rules_oci-v1.3.4.tar.gz", + sha256 = "4a276e9566c03491649eef63f27c2816cc222f41ccdebd97d2c5159e84917c3b", + strip_prefix = "rules_oci-1.7.4", + url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.4/rules_oci-v1.7.4.tar.gz", ) load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies") diff --git a/tools/prysm_image.bzl b/tools/prysm_image.bzl index 504c7539a..fa98bb6b6 100644 --- a/tools/prysm_image.bzl +++ b/tools/prysm_image.bzl @@ -1,4 +1,4 @@ -load("@rules_oci//oci:defs.bzl", "oci_image", "oci_image_index", "oci_push") +load("@rules_oci//oci:defs.bzl", "oci_image", "oci_image_index", "oci_push", "oci_tarball") load("@rules_pkg//:pkg.bzl", "pkg_tar") load("//tools:multi_arch.bzl", "multi_arch") @@ -74,3 +74,9 @@ def prysm_image_upload( repository = repository, tags = tags, ) + + oci_tarball( + name = "oci_image_tarball", + image = ":oci_image", + repo_tags = [repository+":latest"], + )