Repository navigation
Commit 20034e0
Tag builder latest by the digest of the full manifest list
pack pushes an image per target under the version tag before it pushes
the manifest list there, and the registry can still return one of those
right after the push. On builder-noble-java-tiny 0.0.200, `crane tag
<version> latest` copied the linux/arm64 image to `latest`, so amd64
builds failed with "exec format error"
(paketo-buildpacks/builder-noble-java-tiny#344).
Read the version tag until it lists every target of builder.toml (fail
after a minute), then tag latest by the digest of exactly that manifest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0883456 commit 20034e0
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
95 | 111 | | |
96 | 112 | | |
97 | 113 | | |
| |||
0 commit comments