Branch fix for docker publication workflow

This commit is contained in:
Arnold Galovics
2025-03-06 20:27:33 +01:00
committed by Arnold Gálovics
parent f5aa7a433a
commit 2fec46af4d
@@ -43,7 +43,7 @@ jobs:
run: |
TAGS="--tag $DOCKER_ORGANIZATION/web-app:${{ steps.extract_branch.outputs.branch }}"
if [ "${{ steps.extract_branch.outputs.branch }}" == "develop" ]; then
if [ "${{ steps.extract_branch.outputs.branch }}" == "master" ]; then
TAGS="$TAGS --tag $DOCKER_ORGANIZATION/web-app:${{ steps.git_hashes.outputs.short_hash }} --tag $DOCKER_ORGANIZATION/web-app:${{ steps.git_hashes.outputs.long_hash }}"
fi