Commit 0f26792
authored
[docker] Read the digest from imagetools output instead of --format (project-chip#73587)
The buildx in CI ignores --format and prints the whole human readable record,
so remote_digest returned that record rather than a digest. It still compares
as non-empty, so skipping the version tag kept working, but comparing two of
them never matches because each names its own tag, and latest was therefore
pushed on every run.
Parse the Digest line, which the unformatted output has carried across
versions, so the comparison works whatever buildx is present.1 parent 994cbf1 commit 0f26792
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
0 commit comments