feat: add latest tag for default branch tags rule

This commit is contained in:
John Wang 2023-05-25 19:46:08 +08:00
parent 9e2632356a
commit 431bdede94
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ jobs:
with:
images: langgenius/dify-api
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}

View File

@ -32,6 +32,7 @@ jobs:
with:
images: langgenius/dify-web
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}