Skip to content

In the OCI tarball, the RepoTags list is null, is that expected? #1949

@DanyC97

Description

@DanyC97

Hi folks,

Could someone please help me understand if is expected for an OCI tarball exported using

--output type=oci,oci-mediatypes=true

to have a generated manifest.json file in the form of where RepoTags is null?

jq < manifest.json 
[
  {
    "Config": "blobs/sha256/220945e6d4d99121a26becc54c4dc014a5263c61cd65eface0eb9544259bc5b0",
    "RepoTags": null,
    "Layers": [
      "blobs/sha256/37373184fe69e0fc20370c26317bf4c5b9b843c60b375563d4ee1c7766a89782",
      "blobs/sha256/446f22c40abc55825a1748202bd8bed9207e73dc4413aae6273a453ca5f44819",
      "blobs/sha256/590c2dd2028035a96dfe96a21a97972c82d86d32b20a7cf9c27a6702961ccdde",
      "blobs/sha256/5f29db9da6b6bd6413abc83aa701cd330de9854a56bb597f9002f72ea46a0419",
      "blobs/sha256/b9d7b1069156ec2f99ac3f5d2963bb0d481c0ba2300ca89729b19d32b8cfafcc",
      "blobs/sha256/6fbe518499d340ec12d115c68ad4e9ac279f3f20a436cb9c4f972efc602ea8b3",
      "blobs/sha256/8671354eeeba0ec93f93c969eb70472943e295d6c51c89e686e719ccab74f65e",
      "blobs/sha256/78f0253b8f7a53f2ef2c1cc40d7d3c60f5fc984914993a42bef8955c1d232bf0"
    ]
  }
]

In a non OCI the RepoTags is a list as below

jq < manifest.json                                                        
[
  {
    "Config": "e9585e7d08492b36378999360dcedd584899892ba9ae65cf5ff42b7bd6dae33e.json",
    "RepoTags": [
      "k8s.gcr.io/kube-apiserver-amd64:v1.18.9",
      "gcr.io/k8s-staging-kubernetes/kube-apiserver-amd64:v1.18.9"
    ],
    "Layers": [
      "2f2f0536945f6561d5858a15943835eeb88156e7871c52ad7f293732074680e9/layer.tar",
      "93735d8345c27766e4257db856974d845062503663f77439a2b169c621bbfbf0/layer.tar"
    ]
  }
]

I've tried to see if RepoTags is being mentioned in the OCI spec file or if other issues been open around this topic but i couldn't find one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions