ci: build the dev image only on master and manual dispatch

Every branch push published a permanent rockchin/langbot:sha-<sha> tag plus a
branch-name tag, leaving 678 live Docker Hub tags across 265 branches. Restrict
push triggers to master; other branches stay buildable via workflow_dispatch.

Co-authored-by: multica-agent <[email protected]>
This commit is contained in:
Mika
2026-11-02 08:59:58 +00:00
co-authored by multica-agent
parent 8e304c9359
commit f8487471cd
+7
View File
@@ -1,7 +1,14 @@
name: Build Dev Image
# Tag churn control: every push used to publish a permanent
# `rockchin/langbot:sha-<sha>` tag plus a branch-name tag, so ~265 feature,
# agent, experiment and test branches had each accumulated dozens of Docker Hub
# tags (678 live tags, 467 of them `sha-*`). Only `master` now builds on push;
# any other branch can still be built through workflow_dispatch.
on:
push:
branches:
- master
paths-ignore:
- "plugins/**"
- ".github/workflows/plugins-*.yml"