chore(ci): trigger image publish only on release events

- Change workflow trigger from push events to release published events
- Remove automatic builds on main branch merges
- Keep manual workflow_dispatch option for flexibility
This commit is contained in:
wowo-zZ 2026-03-14 16:08:35 +08:00
parent 8194e821f8
commit b886bd8aed

View file

@ -1,12 +1,8 @@
name: Publish Images
on:
push:
branches:
- main
- feature/project-init
tags:
- "v*.*.*"
release:
types: [published]
workflow_dispatch:
concurrency: