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 e62eea4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ brew install tessellate
tess --version
```

Alternatively, you can download the latest releases from GitHub:
Available on Docker Hub:

- https://hub.docker.com/r/clusterless/tessellate/tags

And, you can download the latest releases directly from GitHub:

- https://github.com/ClusterlessHQ/tessellate/releases

Expand Down
17 changes: 10 additions & 7 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 @@ -276,16 +276,14 @@ jreleaser {

packagers {
brew {
active.set(Active.ALWAYS)
active.set(Active.NEVER)
repository.active.set(Active.ALWAYS)
}

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

registries {
Expand All @@ -295,6 +293,12 @@ jreleaser {
}
}

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

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

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

}
}
}
Expand Down

0 comments on commit e62eea4

Please sign in to comment.