ci(github workflows): disable auto latest tag for release docker images

add flavor: latest=false to prevent docker build from automatically building the latest tag, only build tags based on semver version

Signed-off-by: acooler15 <acooler15@foxmail.com>
This commit is contained in:
acooler15
2026-05-24 10:42:35 +08:00
parent 55e490d5e6
commit 60a6c93ac5
+2
View File
@@ -258,6 +258,8 @@ jobs:
with:
images: |
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
tags: |
type=semver,pattern={{version}}${{ matrix.tag_suffix }}
type=raw,value=latest${{ matrix.tag_suffix }}