Commit c883e78
committed
Always pull latest image and serialize publishes per image tag
pull_or_build_image() only pulled/built when the image was entirely
absent locally, so any node with a cached tag kept running stale code
indefinitely even after CI published a newer image. It now always
pulls first, falling back to the local image or a build only if the
registry is unreachable.
publish.yml had no concurrency guard, so near-simultaneous pushes to
master (e.g. two PRs merged in quick succession) could race to push
the same :latest tag, and whichever job finished last won regardless
of commit order - this is what caused #169's header-dedup fix to be
silently overwritten by #168's slower-finishing publish job. Adding a
per-image concurrency group serializes those pushes so the newest
commit always publishes last.1 parent 7973cd9 commit c883e78
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments