Commit edb1853
committed
ci: build and test each image in one job
The test job and the build job built the same image twice. Both used the
docker-container buildx driver, so each one serialized the image to a tar
stream and imported it back. On fx that export cost 3m15s of a 5m36s step,
and the gha cache gave no hits because any version bump invalidates the
single large RUN layer, while the cache export cost 81s per run.
One job now builds with the default buildx driver, which writes straight
into the local daemon, runs the smoke test, and pushes only from master.
QEMU setup is gone because every image is linux/amd64. The smoke test uses
the variant tag, so it checks the exact image that is pushed.
Expect fx to drop from about 12m to about 3m30s.1 parent d00dce8 commit edb1853
2 files changed
Lines changed: 14 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
38 | 29 | | |
39 | 30 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 31 | + | |
53 | 32 | | |
54 | 33 | | |
| 34 | + | |
55 | 35 | | |
56 | 36 | | |
57 | 37 | | |
58 | 38 | | |
59 | 39 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
76 | 43 | | |
77 | 44 | | |
78 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments