This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Commit 08ef441
fix: use oci-layout scheme for Docker multi-platform push (#318)
* fix: add retry logic to artifact search to handle race conditions
Added exponential backoff retry logic to the determine-artifact.sh script
to handle race conditions where the Publish workflow starts before GitHub's
API has indexed the completed Main workflow run.
Changes:
- Retry up to 5 times with increasing delays (5s, 10s, 15s, 20s, 25s)
- Total retry window of ~75 seconds
- Clear logging of retry attempts
This fixes the issue where releases fail because:
1. Main workflow creates GitHub release
2. Release event triggers Publish workflow immediately
3. Publish workflow queries for Main workflow run
4. GitHub API hasn't yet indexed the just-completed workflow
5. Query returns empty results even though workflow succeeded
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: use oci-layout scheme for Docker multi-platform push
- Extract OCI layout from tar archive
- Use docker buildx imagetools create with oci-layout:// scheme
- Properly handles multi-platform manifest lists
- Fixes "unknown flag: --tag" error from buildx imagetools import
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 27488eb commit 08ef441
File tree
3 files changed
+32
-8
lines changed- .changeset
- .github/workflows
3 files changed
+32
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
367 | 371 | | |
368 | 372 | | |
369 | 373 | | |
370 | | - | |
371 | | - | |
| 374 | + | |
| 375 | + | |
372 | 376 | | |
373 | | - | |
| 377 | + | |
374 | 378 | | |
375 | | - | |
| 379 | + | |
376 | 380 | | |
377 | 381 | | |
378 | | - | |
| 382 | + | |
379 | 383 | | |
380 | 384 | | |
381 | 385 | | |
382 | 386 | | |
383 | 387 | | |
384 | 388 | | |
385 | 389 | | |
386 | | - | |
| 390 | + | |
387 | 391 | | |
388 | 392 | | |
389 | 393 | | |
| |||
0 commit comments