chore(CI): add enable check for raw data

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu 2022-12-24 21:56:19 +08:00
parent 982b31a1f6
commit b0f414bc7f
1 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ jobs:
appleboy/gorush
ghcr.io/appleboy/gorush
tags: |
type=raw,value=
type=raw,value=,enable={{is_default_branch}}
type=raw,value=latest,suffix=,enable={{is_default_branch}}
type=semver,event=tag,pattern={{version}},suffix=-linux-amd64
type=semver,event=tag,pattern={{major}}.{{minor}},suffix=-linux-amd64
@ -93,7 +93,7 @@ jobs:
appleboy/gorush
ghcr.io/appleboy/gorush
tags: |
type=raw,value=
type=raw,value=,enable={{is_default_branch}}
type=semver,event=tag,pattern={{version}},suffix=-linux-arm64
type=semver,event=tag,pattern={{major}}.{{minor}},suffix=-linux-arm64
type=semver,event=tag,pattern={{major}},suffix=-linux-arm64
@ -121,7 +121,7 @@ jobs:
appleboy/gorush
ghcr.io/appleboy/gorush
tags: |
type=raw,value=
type=raw,value=,enable={{is_default_branch}}
type=semver,event=tag,pattern={{version}},suffix=-linux-arm
type=semver,event=tag,pattern={{major}}.{{minor}},suffix=-linux-arm
type=semver,event=tag,pattern={{major}},suffix=-linux-arm