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

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new fb911db8a9 FINERACT-2337 Fix docker publish for tags
fb911db8a9 is described below

commit fb911db8a9e1a2eff0c2ae33236d0186d2ee0880
Author: Arun K <[email protected]>
AuthorDate: Mon Aug 18 22:29:30 2025 +0100

    FINERACT-2337 Fix docker publish for tags
---
 .github/workflows/publish-dockerhub.yml | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/publish-dockerhub.yml 
b/.github/workflows/publish-dockerhub.yml
index 84d6f88eed..062c1eb109 100644
--- a/.github/workflows/publish-dockerhub.yml
+++ b/.github/workflows/publish-dockerhub.yml
@@ -28,11 +28,6 @@ jobs:
       - name: Setup Gradle
         uses: 
gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
 
-      - name: Extract branch name
-        shell: bash
-        run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> 
$GITHUB_OUTPUT
-        id: extract_branch
-
       - name: Get Git Hashes
         run: |
           echo "short_hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
@@ -41,8 +36,8 @@ jobs:
 
       - name: Build the Apache Fineract image
         run:  |
-          TAGS=${{ steps.extract_branch.outputs.branch }}
-          if [ "${{ steps.extract_branch.outputs.branch }}" == "develop" ]; 
then
+          TAGS=${{ github.ref_name }}
+          if [ "${{ github.ref_name }}" == "develop" ]; then
             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 \

Reply via email to