fix: ensure main branch is specified in Docker workflow triggers

This commit is contained in:
ShiYu
2025-10-18 16:56:38 +08:00
parent 8eaa025f7e
commit 77a4749fec

View File

@@ -2,6 +2,8 @@ name: Build and Push Docker image
on:
push:
branches:
- main
tags:
- 'v*.*.*'
workflow_dispatch:
@@ -48,4 +50,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.DOCKER_TAGS }}
tags: ${{ env.DOCKER_TAGS }}