introduce ImageDigestLabel to track image built for service

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-08-24 10:50:44 +02:00
parent 9c615dc22e
commit 58bfbbb288
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
5 changed files with 28 additions and 38 deletions

View file

@ -47,6 +47,8 @@ const (
OneoffLabel = "com.docker.compose.oneoff"
// SlugLabel stores unique slug used for one-off container identity
SlugLabel = "com.docker.compose.slug"
// ImageDigestLabel stores digest of the container image used to run service
ImageDigestLabel = "com.docker.compose.image"
// VersionLabel stores the compose tool version used to run application
VersionLabel = "com.docker.compose.version"
)