Force tag event in docker metadata

This commit is contained in:
DerDavidBohl
2025-10-06 20:41:45 +02:00
parent 9c0c111556
commit 5d87bd99c8

View File

@@ -64,8 +64,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# ref für semver/Tag aus TAG_REF, sonst Standard
ref: ${{ env.TAG_REF }}
event: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'repository_dispatch' && github.event.client_payload.tag != '' && 'tag' || '' }}
tags: |
type=ref,event=branch
type=ref,event=pr