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
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m1s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user