FINERACT-2350: Fix DockerHub tags, use 'latest' for develop and version tags for release

This commit is contained in:
Akshat Soni
2025-09-10 19:44:19 +02:00
committed by Adam Saghy
parent 8da0842f87
commit eaa9c858ed
+4 -2
View File
@@ -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}} \