Commit 04bf6ae
committed
fix: validate buildx and imageName early for mergeTag, guard empty imageName
- Move isDockerBuildXInstalled() before the mergeTag early return so
missing buildx fails immediately with a clear error instead of at
runtime in the post step.
- Validate imageName is set when mergeTag is used.
- Guard buildImageNames calls so empty imageName produces [] instead
of invalid image refs like ':latest'.1 parent c397a55 commit 04bf6ae
4 files changed
Lines changed: 50 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
| |||
51 | 68 | | |
52 | 69 | | |
53 | 70 | | |
54 | | - | |
55 | | - | |
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
| |||
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2171 | 2171 | | |
2172 | 2172 | | |
2173 | 2173 | | |
| 2174 | + | |
2174 | 2175 | | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
2175 | 2185 | | |
2176 | 2186 | | |
2177 | 2187 | | |
| |||
2181 | 2191 | | |
2182 | 2192 | | |
2183 | 2193 | | |
2184 | | - | |
2185 | 2194 | | |
2186 | 2195 | | |
2187 | 2196 | | |
| |||
2230 | 2239 | | |
2231 | 2240 | | |
2232 | 2241 | | |
2233 | | - | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
2234 | 2245 | | |
2235 | 2246 | | |
2236 | 2247 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
49 | 62 | | |
50 | 63 | | |
51 | 64 | | |
| |||
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
62 | | - | |
63 | | - | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
| |||
123 | 134 | | |
124 | 135 | | |
125 | 136 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| |||
0 commit comments