diff --git a/.github/workflows/publish-dockerhub.yml b/.github/workflows/publish-dockerhub.yml index 062c1eb10..fc3c472f3 100644 --- a/.github/workflows/publish-dockerhub.yml +++ b/.github/workflows/publish-dockerhub.yml @@ -36,10 +36,12 @@ jobs: - name: Build the Apache Fineract image run: | - TAGS=${{ github.ref_name }} if [ "${{ github.ref_name }}" == "develop" ]; then - TAGS="$TAGS,${{ steps.git_hashes.outputs.short_hash }},${{ steps.git_hashes.outputs.long_hash }}" + TAGS="latest" + else + TAGS="${{ github.ref_name }}" fi + ./gradlew --no-daemon --console=plain :fineract-provider:jib -x test -x cucumber \ -Djib.to.auth.username=${{secrets.DOCKERHUB_USER}} \ -Djib.to.auth.password=${{secrets.DOCKERHUB_TOKEN}} \