fix: auto-build Docker image on tag push (closes #547)
Trigger Docker build workflow only when a new version tag (v*) is pushed, instead of waiting for a GitHub Release to be published. This removes the manual release step and keeps CI usage minimal. Made-with: Cursor
This commit is contained in:
parent
248efacdaa
commit
befb2bc3d5
1 changed files with 3 additions and 2 deletions
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
|
|
@ -1,8 +1,9 @@
|
||||||
name: Build and Push Docker Image
|
name: Build and Push Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [published]
|
tags:
|
||||||
|
- "v*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue