You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output produced only has one of the two images:
# Find the manifest in the output
cat bazel-bin/bazel/examples/oci/publish_vservice_go_image/_publish.index/index.json
{
"manifests": [
{
"mediaType": "application/vnd.oci.image.index.v1+json",
"size": 375,
"digest": "sha256:547ab32ced98b7107f22c7a2d79d1f25ecb1cc46bdf308287d1561896d63cdee"
}
]
}
# That blob is the one we want. We can see it only contains the `arm64` image:
cat bazel-bin/bazel/examples/oci/publish_vservice_go_image/_publish.index/blobs/sha256/547ab32ced98b7107f22c7a2d79d1f25ecb1cc46bdf308287d1561896d63cdee
{
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.index.v1+json",
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:49bfe0fa65600ddbc8ed3d28cbb97c9474ec6d9f395583ae10b6206f92d4f0d2",
"size": 853,
"platform": {
"os": "linux",
"architecture": "arm64"
}
}
]
For the following target:
Which is just an
oci_index
with two images:arm64
andamd64
. When building the index:The output produced only has one of the two images:
Compare with doing the same but in
rules_oci@v1
:Subsequently, when pushing to a remote registry, the index only contains a single image in v2, not both as it does in v1.
The text was updated successfully, but these errors were encountered: