[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Migrate to annotating container images with their service name\n\nStarting January 20, 2025, Google Cloud Marketplace is requiring that all new or updated\ndeployments of Google Kubernetes Engine app product listings or container image products\ncontain an annotation in their image manifest that identifies the service name\nof the product. This annotation has the following format: \n\n com.googleapis.cloudmarketplace.product.service.name=services/\u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e with the name of your service.\n\nAn annotation is a key-value pair that's added to the image manifest. For more\ninformation about annotations, see the Open Container Initiative's documentation\nof\n[annotations](https://github.com/opencontainers/image-spec/blob/main/annotations.md)\non GitHub.\n\nAdd the annotation to your container image manifest\n---------------------------------------------------\n\nTo add the annotation to your container image manifest, use a tool like\n[Docker](https://docs.docker.com/engine/reference/builder/) or\n[Crane](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md).\n\n- For steps to add an annotation with Docker, see [Add annotations](https://docs.docker.com/build/metadata/annotations/#add-annotations) in the Docker documentation.\n- For steps to add an annotation with Crane, see [crane mutate](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_mutate.md) in the Crane documentation.\n\nTo find your service name, refer to the table of products on the **Overview** page\nin Producer Portal."]]