Commit 6577356
committed
fix: Skip platform-specific digest resolution with --pull-policy never
When using --pull-policy never, pack now skips the platform-specific
digest resolution that requires network access to fetch the manifest list.
Instead, it uses the image name directly from the daemon.
This fix addresses issue #2496 where builds fail when using --pull-policy
never because pack cannot resolve the platform-specific digest of the
lifecycle image without network access.
The trade-off is that users may encounter containerd storage issues if
Docker is configured to use containerd storage. In such cases, users
should manually pull the platform-specific digest or use a different
pull policy.
Related to PR #2467 which introduced platform-specific digest resolution
to fix containerd storage issues.
Fixes #2496
Signed-off-by: Juan Bustamante <[email protected]>1 parent 3a89ee8 commit 6577356
2 files changed
+52
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
260 | 271 | | |
261 | 272 | | |
262 | 273 | | |
| |||
275 | 286 | | |
276 | 287 | | |
277 | 288 | | |
278 | | - | |
279 | 289 | | |
280 | 290 | | |
281 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
735 | 776 | | |
736 | 777 | | |
737 | 778 | | |
| |||
0 commit comments