eu.xenit.enterprise-conventions.ext.docker-image-labels
Owner:
Xenit solutions
Adds OCI annotations to Docker images indicating the source repository and commit
https://github.com/xenit-eu/enterprise-conventions-gradle-plugin
Sources: https://github.com/xenit-eu/enterprise-conventions-gradle-plugin
Version 0.6.2 (latest)
Created 05 September 2025.
Adds OCI annotations to Docker images indicating the source repository and commit
Add this plugin to your build using the plugins DSL:
plugins {
id("eu.xenit.enterprise-conventions.ext.docker-image-labels") version "0.6.2"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("eu.xenit.enterprise-conventions.ext.docker-image-labels:eu.xenit.enterprise-conventions.ext.docker-image-labels.gradle.plugin:0.6.2") }It can then be applied in the precompiled script plugin:plugins { id("eu.xenit.enterprise-conventions.ext.docker-image-labels") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("eu.xenit.enterprise-conventions.ext.docker-image-labels:eu.xenit.enterprise-conventions.ext.docker-image-labels.gradle.plugin:0.6.2") } } apply(plugin = "eu.xenit.enterprise-conventions.ext.docker-image-labels") - Applying plugins to all subprojects .