diff --git a/.github/workflows/CI_Release.yml b/.github/workflows/CI_Release.yml index 16dfdd4..f82d56b 100644 --- a/.github/workflows/CI_Release.yml +++ b/.github/workflows/CI_Release.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' @@ -25,32 +25,32 @@ jobs: - name: Get version run: echo "version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) " >> $GITHUB_ENV - - + + - name: Build with Maven run: mvn -DskipTests -B package --file pom.xml - + - name: Maven Install run: | export REPLICADB_RELEASE_VERSION=${{ env.version }} - echo ${REPLICADB_RELEASE_VERSION} - mvn clean install -Dmaven.javadoc.skip=true -DskipTests -B -V -P release - cp ./target/ReplicaDB-*.jar . + echo ${REPLICADB_RELEASE_VERSION} + mvn clean install -Dmaven.javadoc.skip=true -DskipTests -B -V -P release + cp ./target/ReplicaDB-*.jar . mkdir lib - echo ${REPLICADB_RELEASE_VERSION} - cp ./target/lib/* ./lib + echo ${REPLICADB_RELEASE_VERSION} + cp ./target/lib/* ./lib tar -zcvf ReplicaDB-${REPLICADB_RELEASE_VERSION}.tar.gz ReplicaDB-*.jar README.md lib conf bin LICENSE zip -r -X ReplicaDB-${REPLICADB_RELEASE_VERSION}.zip ReplicaDB-*.jar README.md lib conf bin LICENSE - ls -lah + ls -lah - name: Maven Install no-oracle run: | export REPLICADB_RELEASE_VERSION=${{ env.version }} mvn clean install -Dmaven.javadoc.skip=true -DskipTests -B -V -P release-no-oracle - cp ./target/ReplicaDB-*.jar . + cp ./target/ReplicaDB-*.jar . rm -Rf lib 2>/dev/null - mkdir lib - cp ./target/lib/* ./lib + mkdir lib + cp ./target/lib/* ./lib tar -zcvf ReplicaDB-${REPLICADB_RELEASE_VERSION}-no-oracle.tar.gz ReplicaDB-*.jar README.md lib conf bin LICENSE zip -r -X ReplicaDB-${REPLICADB_RELEASE_VERSION}-no-oracle.zip ReplicaDB-*.jar README.md lib conf bin LICENSE ls -lah @@ -66,35 +66,35 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v1 - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - if: github.event_name != 'pull_request' - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - file: Dockerfile - push: ${{ github.event_name != 'pull_request' }} - tags: osalvador/replicadb:${{ env.version }}, osalvador/replicadb:latest - build-args: REPLICADB_RELEASE_VERSION=${{ env.version }} - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - file: Containerfile - push: ${{ github.event_name != 'pull_request' }} - tags: osalvador/replicadb:ubi8-${{ env.version }}, osalvador/replicadb:ubi8-latest - build-args: REPLICADB_RELEASE_VERSION=${{ env.version }} - - - - + + # - name: Login to DockerHub + # if: github.event_name != 'pull_request' + # uses: docker/login-action@v1 + # with: + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} + + # - name: Build and push + # uses: docker/build-push-action@v2 + # with: + # context: . + # file: Dockerfile + # push: ${{ github.event_name != 'pull_request' }} + # tags: osalvador/replicadb:${{ env.version }}, osalvador/replicadb:latest + # build-args: REPLICADB_RELEASE_VERSION=${{ env.version }} + + # - name: Build and push + # uses: docker/build-push-action@v2 + # with: + # context: . + # file: Containerfile + # push: ${{ github.event_name != 'pull_request' }} + # tags: osalvador/replicadb:ubi8-${{ env.version }}, osalvador/replicadb:ubi8-latest + # build-args: REPLICADB_RELEASE_VERSION=${{ env.version }} + + + + diff --git a/pom.xml b/pom.xml index 43ede10..10b862e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,10 +7,10 @@ org.replicadb ReplicaDB - 0.15.0 + 0.15.3 ReplicaDB - https://github.com/osalvador/ReplicaDB + https://github.com/ilkerhalil/ReplicaDB UTF-8