feat: update workflows for docker and release processes

- Updated `.github/workflows/docker-publish.yml`:
  - Commented out the branch trigger for `main` in the `push` event to allow only tag-based Docker builds (tags like `v*.*.*`).

- Updated `.github/workflows/release.yml`:
  - Removed default release body template containing placeholder release notes. This simplifies the release creation process and avoids predefined content.
  - No functional changes to release asset upload configurations, minor format adjustment to ensure no missing newline at the file end.
This commit is contained in:
yinpeng
2025-02-12 14:20:46 +08:00
parent 17f1355099
commit e024d55006
2 changed files with 2 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ name: Docker Image CI
on:
push:
branches: [ "main" ]
# branches: [ "main" ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]