feat!: remove schema1 manifest

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
This commit is contained in:
David van der Spek 2023-08-28 13:33:50 +02:00
parent 932be63dc2
commit 0742b56677
Failed to extract signature
14 changed files with 6 additions and 1484 deletions

View file

@ -20,7 +20,7 @@ const (
// EventsMediaType is the mediatype for the json event envelope. If the
// Event, ActorRecord, SourceRecord or Envelope structs change, the version
// number should be incremented.
EventsMediaType = "application/vnd.docker.distribution.events.v1+json"
EventsMediaType = "application/vnd.docker.distribution.events.v2+json"
// LayerMediaType is the media type for image rootfs diffs (aka "layers")
// used by Docker. We don't expect this to change for quite a while.
layerMediaType = "application/vnd.docker.container.image.rootfs.diff+x-gtar"