cloudfoundry / diego-release

BOSH Release for Diego

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support extended OCI metadata in Docker app lifecycle

AP-Hunt opened this issue · comments

Support extended OCI metadata in Docker app lifecycle

Summary

Docker app lifecycle supports OCI format containers, including the metadata that comes with them. A recent release of Docker Buildx has begun adding additional metadata to container images, and @MarcPaquette believes that Docker app lifecycle doesn't support it correcly

Steps to Reproduce

Build any container image with Docker Buildx >= 0.10 and deploy it on CloudFoundry. You should be presented with an error message like

ERR builder exited with error: failed to fetch metadata from [dfe-digital/get-into-teaching-frontend] with tag [sha-24995d8] and insecure registries [] due to Error reading manifest sha-24995d8 in ghcr.io/dfe-digital/get-into-teaching-frontend: manifest unknown: OCI index found, but Accept header does not support OCI indexes

Diego repo

Docker app lifecycle

Environment Details

diego-release version 2.71.0, on Jammy stemcell (from CF deployment 24.6.0)

Additional Text Output, Screenshots, contextual information (optional)

This was first reported to me by a user: DFE-Digital/get-into-teaching-app#3089

commented

Our teams are running into this problem. Not much more to say than that.