chore: update Gitea CI/CD workflow to conditionally enable 'latest' Docker image tag based on branch name
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m1s

This commit is contained in:
typist
2025-10-27 20:20:54 +08:00
parent 185ce1fac1
commit d5959ca3c3

View File

@@ -33,7 +33,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest
type=raw,value=latest,enable=${{ !contains(github.ref, 'snapshot') && !contains(github.ref, 'alpha') && !contains(github.ref, 'beta') }}
- name: 构建并推送 Docker 镜像
uses: docker/build-push-action@v5