Skip to content

Enable OCI artifact for attestation manifest by default #6171

@crazy-max

Description

@crazy-max

#5573 adds opt-in to enable OCI artifact for pushed attestations. We should enable OCI artifact for attestations by default. It would be done by default if image output is OCI. We should also probably consider defaulting to OCI mediatypes which is currently being worked on in #6095.

Support across registries

Registry Supported Notes
AWS Elastic Container Registry (ECR) 🟢 Fixed since v0.25.0 #6191
Azure Container Registry (ACR) 🟢
Distribution 🟢
Docker Hub 🟢
GitHub Container Registry (GHCR) 🟢 https://oci.dag.dev/?image=ghcr.io%2Fdocker-ghactiontest%2Ftest%3Aci-oci-artifact
GitLab 🔴 Can't push: unknown: manifest invalid - unknown media type: application/vnd.docker.attestation.manifest.v1+json ; Tracked in https://gitlab.com/gitlab-org/container-registry/-/issues/1679
Google Artifact Registry (GAR) 🟢
Harbor 🟢
JFrog Artifactory 🟢
Sonatype Nexus 🟢
Red Hat Quay 🟢 https://oci.dag.dev/?image=quay.io%2Fdocker_build_team%2Fghactiontest%3Aci-oci-artifact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions