mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-20 00:39:56 +01:00
Only use branch ref for tag if we're not building via schedule event (namely, don;t also tag "master" when doing nightly)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
2
.github/workflows/test-and-build.yaml
vendored
2
.github/workflows/test-and-build.yaml
vendored
@@ -57,7 +57,7 @@ jobs:
|
||||
latest=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
tags: |
|
||||
type=schedule
|
||||
type=ref,event=branch
|
||||
type=ref,event=branch,enable=${{ github.event_name != 'schedule' }}
|
||||
type=ref,event=tag
|
||||
-
|
||||
name: Login to DockerHub
|
||||
|
||||
Reference in New Issue
Block a user