This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch revert-5021-Fineract-2350/dockerhub-tags
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 7b11b18e6150d0e752630bd318e8c6b9a848e24a
Author: Adam Saghy <[email protected]>
AuthorDate: Wed Sep 17 16:12:11 2025 +0200

    Revert "FINERACT-2350: Fix DockerHub tags, use 'latest' for develop and 
version tags for release"
    
    This reverts commit eaa9c858ed27f36b212de2368c3ee9af32448433.
---
 .github/workflows/publish-dockerhub.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/publish-dockerhub.yml 
b/.github/workflows/publish-dockerhub.yml
index fc3c472f30..062c1eb109 100644
--- a/.github/workflows/publish-dockerhub.yml
+++ b/.github/workflows/publish-dockerhub.yml
@@ -36,12 +36,10 @@ jobs:
 
       - name: Build the Apache Fineract image
         run:  |
+          TAGS=${{ github.ref_name }}
           if [ "${{ github.ref_name }}" == "develop" ]; then
-            TAGS="latest"
-          else
-            TAGS="${{ github.ref_name }}"
+            TAGS="$TAGS,${{ steps.git_hashes.outputs.short_hash }},${{ 
steps.git_hashes.outputs.long_hash }}"
           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}} \

Reply via email to