ci: add gitea image publishing workflows

This commit is contained in:
Schramm Dominik
2026-04-22 15:45:09 +02:00
parent 991e44a293
commit 82140ae19b
6 changed files with 262 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ plugins {
apply(plugin = "org.springframework.boot")
group = "at.dslan"
version = "0.1.0"
version = file("VERSION").readText().trim()
java {
toolchain {
@@ -40,3 +40,14 @@ dependencies {
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.register<Copy>("stageFatJar") {
group = "build"
description = "Copies the boot jar to a stable location for CI image assembly."
dependsOn("bootJar")
from(layout.buildDirectory.dir("libs")) {
include("*.jar")
}
into(layout.buildDirectory.dir("ci"))
rename { "server.jar" }
}