fix: docker branch tag should only generate when not empty
parent
61605ca553
commit
01b95de8a1
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
${{ env.IMAGE_NAME }}
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=raw,value={{branch}}-{{sha}}
|
||||
type=raw,value={{branch}}-{{sha}},enable=${{ branch != '' }}
|
||||
type=schedule,pattern=nightly
|
||||
type=schedule,pattern={{date 'YYYYMMDD'}}
|
||||
type=semver,pattern={{version}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue