Commit bb6546a
committed
Fix GHCR primary tag display by reordering manifest tags
Workflow changes:
- Reorder tags in manifest creation: sha → stable → latest → version
- Version tag now listed last (GHCR displays last tag as primary)
- Applies to all images: ESP-IDF, ESP-Matter, PlatformIO
Cursor rules updates:
- Add 'Tag ordering' to Critical Details
- Document tag ordering in 'Tag Ordering in Manifests' section
- Update workflow template to show correct order
Rationale:
- GHCR UI shows last created tag as the 'primary' display tag
- Previously showed 'sha-XXXXXXX' which is not user-friendly
- Now shows version tag (e.g., 'idf-v5.4.1', 'pio-v6.1.18')
- More informative for users browsing GHCR package pages
- All tags still work correctly, this only affects UI display
Result:
- GHCR will show: jethome-dev-esp-idf idf-v5.4.1 (instead of sha-a2a2e80)
- GHCR will show: jethome-dev-platformio pio-v6.1.18 (instead of sha-a2a2e80)1 parent a2a2e80 commit bb6546a
File tree
3 files changed
+15
-8
lines changed- .cursor/rules
- .github/workflows
3 files changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | | - | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
270 | 277 | | |
271 | 278 | | |
272 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | | - | |
197 | 197 | | |
198 | 198 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
107 | 107 | | |
108 | 108 | | |
0 commit comments