Commit 6d3f34d
ci(docker): skip PR triggers β build only on push to main + release (#218)
Docker workflow no longer runs on pull_request events. Triggers
are now scoped to:
- release: published (release-please tags)
- push to main (after a PR merges)
- workflow_dispatch (manual run from Actions UI)
Rationale: multi-arch docker builds (amd64 + arm64 via QEMU
emulation) take 12-18 minutes on cold cache, 3-6 minutes on
warm cache. Running them on every PR (even with the paths-filter
scoping to docker-related files) blocks PR review feedback and
slows the iteration loop.
Trade-off accepted:
- Docker breakage is now caught one step later: after a PR
merges to main, not during PR review.
- Easy to revert with a follow-up PR if a breaking change
lands on main.
- release.yml will fail loudly if the post-merge image build
is broken, so we still get a hard signal before tagging
a release.
Docker files (Dockerfile, .dockerignore, docker-compose.yml,
docker.yml) change rarely β most PRs are unaffected by this
change.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5fb7852 commit 6d3f34d
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 37 | + | |
| 38 | + | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
0 commit comments