Skip to content

Commit

Permalink
enable docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel-idme committed Jan 31, 2025
1 parent defa1fd commit 7248b1d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tessellate-main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ configurations["integrationTestImplementation"].extendsFrom(configurations.testI
tasks.named<ProcessResources>("processResources") {
doFirst {
file("${buildDir}/resources/main/version.properties")
.writeText("release.full=${version}")
.writeText("release.full=${version}")
}
}

Expand Down Expand Up @@ -296,8 +296,11 @@ jreleaser {
}
}

label("org.opencontainers.image.title", "Tessellate")
label("org.opencontainers.image.description", "Tessellate is tool for parsing and partitioning data.")

buildx {
enabled.set(false)
enabled.set(true)
platform("linux/amd64")
platform("linux/arm64")
}
Expand All @@ -315,7 +318,14 @@ jreleaser {
}
}

tasks.register("createPath") {
doLast {
file("build/jreleaser").mkdirs()
}
}

tasks.register("release") {
dependsOn("createPath")
dependsOn("distZip")
dependsOn("jreleaserRelease")
dependsOn("jreleaserPackage")
Expand Down

0 comments on commit 7248b1d

Please sign in to comment.