Skip to content

Commit

Permalink
Update README and github workflow to publish to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Sep 18, 2023
1 parent 64edea1 commit 751b9de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Publish release to Maven Central
name: Build and Publish Docker Builds
on:
release:
types:
Expand All @@ -25,13 +25,13 @@ jobs:
with:
distribution: 'zulu'
java-version: '11'
- name: Publish
- name: Build
run: |
export VERSION=${{github.ref_name}}
export REL_VER=`echo ${VERSION:1}`
echo "Release version is $REL_VER"
echo "RELEASE_VERSION=$REL_VER" >> $GITHUB_ENV
./gradlew publish -Pversion=$REL_VER -PmavenCentral -Pusername=${{ secrets.SONATYPE_USERNAME }} -Ppassword=${{ secrets.SONATYPE_PASSWORD }}
./gradlew build -Pversion=$REL_VER
echo "Building UI"
ls -ltr server/build/libs
docker/build-ui.sh
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,12 @@ docker pull orkesio/orkes-conductor-community:latest
### Published Artifacts

* **Group:** `io.orkes.conductor`
* **Artifacts:** `orkes-conductor-community-{server,persistence,archive}`

| Artifact | Gradle |
|-------------|-------------------------------------------------------------------------------------|
| server | `implementation 'io.orkes.conductor:orkes-conductor-community-server:VERSION'` |
| persistence | `implementation 'io.orkes.conductor:orkes-conductor-community-persistence:VERSION'` |
| archive | `implementation 'io.orkes.conductor:orkes-conductor-community-archive:VERSION'` |
The docker files are published at the following:
#### Server build suitable for the production deployment
https://hub.docker.com/r/orkesio/orkes-conductor-community

#### Local build useful for local build and development
https://hub.docker.com/r/orkesio/orkes-conductor-community-standalone

#### Production Configuration Recommendations
The container and server jar published come with sensible defaults that work for most use cases.
Expand Down

0 comments on commit 751b9de

Please sign in to comment.