Commit 4525637
cyk
ci(docker): auto-trigger on feat/dynamic-frontend + per-variant image names
Two changes that go together because the second was useless without the
first. Push to feat/dynamic-frontend (the active branch) was not in the
trigger list, so commits like Fix 3 b80688c never produced a fresh
:front-rolling image -- the user kept pulling stale binaries and the
mpv "Failed to recognize file format" symptom appeared unfixed when in
fact CI had simply not run.
- Replace push:main + pull_request:copy triggers with push:feat/dynamic-frontend
so every commit on the active branch rebuilds the four docker variants.
- Drop the shared IMAGE_NAME env and give each matrix row its own
image_name: openlist, openlist-ffmpeg, openlist-aria2, openlist-aio.
Tags collapse from openlist:front-rolling-{variant} to
{image_name}:front-rolling, so the pull path matches the image
intent (ghcr.io/.../openlist-aio:front-rolling, etc.).
- :latest now applies to each image when its frontend_channel is
"latest", rather than only openlist:latest.
- Build cache key reuses the per-variant image_name so caches don't
collide across variants.1 parent 2648349 commit 4525637
1 file changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
| |||
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
131 | 127 | | |
132 | 128 | | |
133 | 129 | | |
134 | | - | |
| 130 | + | |
135 | 131 | | |
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
139 | 135 | | |
140 | | - | |
| 136 | + | |
141 | 137 | | |
142 | 138 | | |
143 | 139 | | |
144 | | - | |
| 140 | + | |
145 | 141 | | |
146 | 142 | | |
147 | 143 | | |
148 | | - | |
| 144 | + | |
149 | 145 | | |
150 | 146 | | |
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
154 | | - | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
178 | | - | |
| 174 | + | |
179 | 175 | | |
180 | | - | |
181 | | - | |
| 176 | + | |
| 177 | + | |
182 | 178 | | |
183 | 179 | | |
184 | 180 | | |
| |||
192 | 188 | | |
193 | 189 | | |
194 | 190 | | |
195 | | - | |
196 | | - | |
| 191 | + | |
| 192 | + | |
0 commit comments