Migrate to annotating container images with their service name

Starting January 20, 2025, Google Cloud Marketplace is requiring that all new or updated deployments of Google Kubernetes Engine app product listings or container image products contain an annotation in their image manifest that identifies the service name of the product. This annotation has the following format:

com.googleapis.cloudmarketplace.product.service.name=services/SERVICE_NAME

Replace SERVICE_NAME with the name of your service.

An annotation is a key-value pair that's added to the image manifest. For more information about annotations, see the Open Container Initiative's documentation of annotations on GitHub.

Add the annotation to your container image manifest

To add the annotation to your container image manifest, use a tool like Docker or Crane.

  • For steps to add an annotation with Docker, see Add annotations in the Docker documentation.
  • For steps to add an annotation with Crane, see crane mutate in the Crane documentation.

To find your service name, refer to the table of products on the Overview page in Producer Portal.