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:
parent
b0a5a0f163
commit
3f97e6e4fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue