regctl is not available for a few platforms, we should to register regctl toolchains only for compatible platforms, or reduce the global list of available platforms (PLATFORMS). to avoid to break the bazel vendor command.
$ bazel vendor
...
Repository rule regctl_repositories defined at:
<output_base>/external/rules_oci+/oci/repositories.bzl:82:38: in <toplevel>
ERROR: An error occurred during the fetch of repository 'rules_oci++oci+oci_regctl_windows_armv6':
Traceback (most recent call last):
File "<output_base>/external/rules_oci+/oci/repositories.bzl", line 78, column 52, in _regctl_repo_impl
integrity = REGCTL_VERSIONS[REGCTL_VERSION][platform],
Error: key "windows-armv6" not found in dictionary
ERROR: An error occurred during the fetch of repository 'rules_oci++oci+oci_regctl_linux_armv6':
Traceback (most recent call last):
File "<output_base>/external/rules_oci+/oci/repositories.bzl", line 78, column 52, in _regctl_repo_impl
integrity = REGCTL_VERSIONS[REGCTL_VERSION][platform],
Error: key "linux-armv6" not found in dictionary
ERROR: An error occurred during the fetch of repository 'rules_oci++oci+oci_regctl_linux_i386':
Traceback (most recent call last):
File "<output_base>/external/rules_oci+/oci/repositories.bzl", line 78, column 52, in _regctl_repo_impl
integrity = REGCTL_VERSIONS[REGCTL_VERSION][platform],
Error: key "linux-i386" not found in dictionary
ERROR: key "linux-armv6" not found in dictionary
regctl
is not available for a few platforms, we should to register regctl toolchains only for compatible platforms, or reduce the global list of available platforms (PLATFORMS
). to avoid to break thebazel vendor
command.bazel:
7.3.1
rules_oci:2.0.0