mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-28 04:33:59 +01:00
Drop the development tag - there is very little use in keeping it around, especially when there are file differences between master and dev on the other components. Instead, just update the nightly tag when the development branch has changes pushed to it.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
8
.github/workflows/build-and-publish.yml
vendored
8
.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: ${{ github.event_name == 'schedule' && 'development' || 'master' }}
|
||||
components_branch: ${{ github.event_name == 'release' && 'master' || 'development' }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
latest=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
tags: |
|
||||
type=schedule,pattern=nightly
|
||||
type=ref,event=branch,enable=${{ github.event_name != 'schedule' }}
|
||||
type=ref,event=branch,enable=${{ github.event_name != 'schedule' }},pattern=nightly
|
||||
type=ref,event=tag
|
||||
|
||||
-
|
||||
@@ -148,7 +148,7 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 #v5.0.0
|
||||
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f #v5.8.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
images: |
|
||||
@@ -158,7 +158,7 @@ jobs:
|
||||
latest=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
tags: |
|
||||
type=schedule,pattern=nightly
|
||||
type=ref,event=branch,enable=${{ github.event_name != 'schedule' }}
|
||||
type=ref,event=branch,enable=${{ github.event_name != 'schedule' }},pattern=nightly
|
||||
type=ref,event=tag
|
||||
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user