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 6, 2023
1 parent 404bf31 commit eb27276
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 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
17 changes: 8 additions & 9 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,20 +281,20 @@ jreleaser {
}

docker {
active.set(Active.NEVER)
repository {
repoOwner.set("clusterless")
name.set("tessellate")
tagName.set("{{projectVersion}}")
}

active.set(Active.ALWAYS)
registries {
create("DEFAULT") {
externalLogin.set(true)
repositoryName.set("clusterless")
}
}

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

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

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

}
}
}
Expand Down

0 comments on commit eb27276

Please sign in to comment.