Commit d796596
fix(ci): push tutorial images from buildx instead of re-pushing a stale local tag
The publish path built a multi-platform image without --push, then a separate
'docker push' step shipped ':latest'. But a multi-arch buildx build can't be
loaded into the local Docker image store, so no fresh local ':latest' exists;
the preceding validation step's 'docker run' pulls the *existing* (stale)
':latest' from ghcr, and 'docker push' then re-pushes that same stale image.
Result: ':latest' has been frozen at a Dec-2025 build, re-pushed unchanged on
every run, which is why the 020_state_machine agent's mcp<2 pin never reached
the published image and the scale-agentex integration test kept failing.
Fix: on the publish path, pass --push to 'agentex agents build' so buildx sends
the freshly-built multi-arch image straight to the registry, and drop the
now-redundant separate 'docker push' step. Validation still runs and now
exercises the freshly-pushed image.
Also revert the CLI build cache default back to True (keep the --cache/--no-cache
flag): the staleness was never a layer-cache problem, so forcing --no-cache
globally only slowed builds without fixing anything.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c0566d9 commit d796596
3 files changed
Lines changed: 14 additions & 18 deletions
File tree
- .github/workflows
- src/agentex/lib/cli
- commands
- handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
201 | 209 | | |
202 | 210 | | |
203 | 211 | | |
| |||
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
| 133 | + | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
0 commit comments