fix: handlebar syntax in meta action

wsxiaoys-patch-2
Meng Zhang 2023-11-03 13:53:09 -07:00
parent a5bb20becb
commit 1b92d5eabc
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ jobs:
${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value={{branch}}-{{sha}},enable={{#if branch}}true{{else}}false{{/if}}
type=raw,value={{branch}}-{{sha}},enable=${{ startsWith(github.ref, 'refs/heads') }}
type=schedule,pattern=nightly
type=schedule,pattern={{date 'YYYYMMDD'}}
type=semver,pattern={{version}}