Only build development branches of components for nightly tag, else use released components

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2025-06-05 19:47:32 +01:00
parent 4f34e6fcb0
commit dc34385007

View File

@@ -12,7 +12,7 @@ on:
env:
dockerhub: ${{ secrets.DOCKERHUB_NAMESPACE }}/pihole
ghcr: ghcr.io/${{ github.repository_owner }}/pihole
components_branch: ${{ startsWith(github.ref, 'refs/tags/') && 'master' || 'development' }}
components_branch: ${{ github.event_name == 'schedule' && 'development' || 'master' }}
jobs:
build: