diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4b6b53a..6916003 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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