Commit 717381f
committed
build: Reorder
It is unclear how docker handles multiple caches under the hood.
I did find an older comment¹ that if multiple `--cache-from` sources are
provided, it will use the first cache hit for the whole run.
This is my attempt to prioritize the ordering of the sources to use the
tagged images from the ghcr.io registry over the latest images from
docker.io.
¹ moby/moby#26839 (comment)--cache-from sources1 parent 7190f72 commit 717381f
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 76 | | |
82 | | - | |
| 77 | + | |
83 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments