Skip to content

Commit 558e3d4

Browse files
kulunkilabsclaude
andcommitted
ci: trigger Docker build on every main push (updates :latest)
Previously the image only built on v* tag pushes. Now: - push to main → builds and pushes :latest (no version bump needed) - push v* tag → builds :latest + versioned tag (e.g. :1.6.6) - workflow_dispatch → same as main push (manual trigger from UI/CLI) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent add9deb commit 558e3d4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: Build and Push Docker Image
22

33
on:
44
push:
5+
branches:
6+
- main # updates :latest on every main push (no version bump needed)
57
tags:
6-
- "v*"
7-
workflow_dispatch:
8+
- "v*" # also pushes a versioned tag (e.g. :1.6.6) on releases
9+
workflow_dispatch: # manual trigger from GitHub UI / gh CLI
810

911
env:
1012
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)