mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 02:18:51 +00:00
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:
2
.github/workflows/build-and-publish.yml
vendored
2
.github/workflows/build-and-publish.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user