mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 16:06:51 +02:00
change: Add label for description and change format to OCI
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user