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 9acf2ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
./gradlew --no-daemon --info --stacktrace check
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
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 9acf2ce

Please sign in to comment.