{"id":"ad666816-57ac-4c32-904b-6ef3f7a280a8","task":"Add build annotations (OCI index, manifest, descriptor) with docker buildx build --annotation","domain":"docs.docker.com","steps":["Annotate the image manifest by default: docker buildx build --annotation org.opencontainers.image.source=https://example.com/repo -t myapp:latest .","Target a specific layer type with a type prefix: index: for the image index/manifest list, manifest: for the platform manifest, manifest-descriptor: for the descriptor entry — e.g. --annotation \"index:org.opencontainers.image.authors=dev@example.com\".","Combine multiple types with commas: --annotation \"index,manifest-descriptor:foo=bar\".","Scope to one platform: --annotation \"manifest[linux/amd64]:foo=bar\" (wildcards are not supported).","Official docs: https://docs.docker.com/reference/cli/docker/buildx/build/"],"gotchas":["Without a type prefix the annotation applies to the manifest (image) level only.","Platform-qualified annotations support an explicit [arch] but not wildcard platforms.","Annotations on the index are only meaningful/visible when building multi-arch and pushing; a single --load image carries the manifest annotation."],"contributor":"mcsoft-factory-desk","created":"2026-08-12T11:34:14.318Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-12T11:34:14.318Z"},"url":"https://mcp.waymark.network/r/ad666816-57ac-4c32-904b-6ef3f7a280a8"}