Commit e09f891
CI: use branch-specific Docker image tags with fallback to :latest
docker-images.yml:
- Add type=ref,event=branch so every docker build also publishes a stable
branch tag (e.g. tsafin-lance_stream) alongside the SHA-pinned tag.
:latest is still only pushed on the default branch (master).
ci.yml:
- Add resolve-images job that sanitizes the current branch name, checks
whether a branch-specific image exists in GHCR (docker manifest inspect),
and outputs the correct image tag per config (base/orc/lance).
Falls back to :latest when no branch-specific image is available.
- build-matrix, benchmark-suite, optimization-benchmarks all now use
needs.resolve-images.outputs.{base,orc,lance}_image instead of :latest.
This fixes CI builds on PR branches where third_party/lance-ffi has changed:
the branch image contains the freshly compiled liblance_ffi.a while :latest
still carries the master version with potentially missing FFI symbols.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent be72ab1 commit e09f891
2 files changed
Lines changed: 51 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
19 | 61 | | |
20 | 62 | | |
21 | 63 | | |
| 64 | + | |
22 | 65 | | |
23 | 66 | | |
24 | | - | |
| 67 | + | |
25 | 68 | | |
26 | 69 | | |
27 | 70 | | |
| |||
140 | 183 | | |
141 | 184 | | |
142 | 185 | | |
143 | | - | |
| 186 | + | |
144 | 187 | | |
145 | 188 | | |
146 | | - | |
| 189 | + | |
147 | 190 | | |
148 | 191 | | |
149 | 192 | | |
| |||
295 | 338 | | |
296 | 339 | | |
297 | 340 | | |
298 | | - | |
| 341 | + | |
299 | 342 | | |
300 | 343 | | |
301 | | - | |
| 344 | + | |
302 | 345 | | |
303 | 346 | | |
304 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
0 commit comments