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:
Adam Warner 2021-12-25 13:38:10 +00:00
parent b0a5a0f163
commit 3f97e6e4fc
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
1 changed files with 1 additions and 1 deletions

View File

@ -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