chore(ci): restore release publish triggers

This commit is contained in:
vsxd 2026-03-12 21:51:25 +08:00
parent b73f7ed5d8
commit 9146476fb9

View file

@ -4,7 +4,6 @@ on:
push:
branches:
- main
- feature/project-init
tags:
- "v*.*.*"
workflow_dispatch:
@ -60,7 +59,7 @@ jobs:
images: ${{ matrix.image }}
tags: |
type=raw,value=edge,enable={{is_default_branch}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-') }}
type=ref,event=tag
type=sha,format=short,prefix=sha-
type=semver,pattern={{version}}