Skip to content

Commit

Permalink
enable docker publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel committed Dec 5, 2023
1 parent 404bf31 commit 72d34d2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tessellate-main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
java
application
`java-test-fixtures`
id("org.jreleaser") version "1.8.0"
id("org.jreleaser") version "1.9.0"
}

val versionProperties = Properties().apply {
Expand Down Expand Up @@ -281,7 +281,7 @@ jreleaser {
}

docker {
active.set(Active.NEVER)
active.set(Active.ALWAYS)
repository {
repoOwner.set("clusterless")
name.set("tessellate")
Expand All @@ -295,6 +295,12 @@ jreleaser {
}
}

buildx {
enabled.set(true)
platform("linux/amd64")
platform("linux/arm64")
}

imageName("{{owner}}/{{distributionName}}:{{projectVersion}}")

if (buildRelease) {
Expand All @@ -304,7 +310,6 @@ jreleaser {
} else {
imageName("{{owner}}/{{distributionName}}:latest-wip")
}

}
}
}
Expand Down

0 comments on commit 72d34d2

Please sign in to comment.