change: Add label for description and change format to OCI

This commit is contained in:
2025-10-03 18:47:46 +02:00
parent 475ae28cb6
commit eb6252c134
+4
View File
@@ -1,3 +1,5 @@
import com.google.cloud.tools.jib.api.buildplan.ImageFormat
plugins {
id("twomartens.jib")
}
@@ -35,6 +37,8 @@ jib {
jvmFlags = listOf("-XX:+UseContainerSupport",
"-XX:MaxRAMPercentage=75.0")
user = "nobody"
format = ImageFormat.OCI
labels = mapOf("org.opencontainers.image.description" to "Container image of the TSW Timetable backend")
}
outputPaths.digest = "${layout.buildDirectory.get().asFile}/jib-image.digest"
}