Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-3386

application/vnd.dsse.envelope.v1+json manifest not allowed

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • quay.io

      With tekton-chains and using OCI as storage the in-toto attestion upload fails on quay as the type is rejected.

      {"level":"error","ts":"2022-02-22T11:34:09.481Z","logger":"watcher","caller":"chains/signing.go:210","msg":"PUT https://quay.io/v2/caugello/kaniko-chains/manifests/sha256-04b0f896c825507559ba4c8777b98604733cf8a933b0005dae30b6923846e79b.att: MANIFEST_INVALID: manifest invalid; map[message:failed to parse manifest: manifest data does not match schema: 'application/vnd.dsse.envelope.v1+json' is not one of ['application/vnd.oci.image.layer.v1.tar', 'application/vnd.oci.image.layer.v1.tar+gzip', 'application/vnd.oci.image.layer.v1.tar+zstd', 'application/vnd.oci.image.layer.nondistributable.v1.tar', 'application/vnd.oci.image.layer.nondistributable.v1.tar+gzip', 'application/vnd.dev.cosign.simplesigning.v1+json', 'application/tar+gzip', 'application/vnd.cncf.helm.chart.content.v1.tar+gzip', 'application/vnd.oci.image.layer.v1.tar+gzip']\n\nFailed validating 'enum' in schema['properties']['layers']['items']['properties']['mediaType']:\n    {'description': 'The MIME type of the referenced manifest',\n     'enum': ['application/vnd.oci.image.layer.v1.tar',\n              'application/vnd.oci.image.layer.v1.tar+gzip',\n              'application/vnd.oci.image.layer.v1.tar+zstd',\n              'application/vnd.oci.image.layer.nondistributable.v1.tar',\n              'application/vnd.oci.image.layer.nondistributable.v1.tar+gzip',\n              'application/vnd.dev.cosign.simplesigning.v1+json',\n              'application/tar+gzip',\n              'application/vnd.cncf.helm.chart.content.v1.tar+gzip',\n              'application/vnd.oci.image.layer.v1.tar+gzip'],\n 

              bcaton@redhat.com Brandon Caton
              rhn-support-caugello Christophe Augello
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: