mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-21 19:20:38 +00:00
Add tarball support for docker images (#13790)
This commit is contained in:
parent
d19365507f
commit
b008a6422d
@ -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")
|
||||
|
@ -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"],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user