Date: 2021-10-27
Accepted
We need additional metadata associated with our published container images to provide end-users information about who provided the image, when it was built, and license info. This information is also helpful for us when troubleshooting a customer environment as it will enable us to rebuild the images to test locally.
Add the following labels to all the Weave Gitops Core and Enterprise container images.
- org.opencontainers.image.created: Date the image was created e.g., "2021-10-22T12:41:17Z",
- org.opencontainers.image.description: Short description e.g., "The Weave GitOps API service"
- org.opencontainers.image.documentation: "https://docs.gitops.weave.works/"
- org.opencontainers.image.licenses: The licenses this image falls under e.g., "MPL-2.0"
- org.opencontainers.image.revision: Git Hash e.g., "db14c22923f5ba303bc3b0191acca93bb571739c",
- org.opencontainers.image.source: URL for the source code e.g., "https://github.com/weaveworks/weave-gitops",
- org.opencontainers.image.title: Typically the image name e.g., "wego-app",
- org.opencontainers.image.url: URL for more information, e.g., "https://github.com/weaveworks/weave-gitops",
- org.opencontainers.image.vendor: "Weaveworks"
- org.opencontainers.image.version: Semantic version of the image (also the tag) e.g., "v0.3.3"
This information will enable us to reproduce the image(s) they are running when troubleshooting customer environments.