goharbor / acceleration-service

Provides a general service to support image acceleration based on kinds of accelerator like Nydus and eStargz etc.
Apache License 2.0
77 stars 27 forks source link

nydus: append useful annotations for manifest #152

Closed imeoer closed 1 year ago

imeoer commented 1 year ago
Add the following annotations for each manifest of nydus image:

- containerd.io/snapshot/nydus-source-digest
- containerd.io/snapshot/nydus-source-reference
- containerd.io/snapshot/nydus-fs-version
- containerd.io/snapshot/nydus-builder-version

And allow external tool (for example nydusify) to append extra
annotations using `converter.WithAnnotation` option.