Commit 95689ff
fix: multiarch image builds by using host architecture for jq and crane (#869)
This PR builds on #794 to fix the failing CI jobs.
Multiarch image builds can fail due to the target architecture for jq
and crane. For example if you are building an arm64 image on a x86
machine a failure similar to this will occur:
```
line 52: ../jq_linux_arm64/jq: cannot execute binary file: Exec format error
```
As jq and crane run on the host building the images the host
architecture should be used rather than the target arch.
---------
Signed-off-by: Brian Carey <bcarey@redhat.com>
Co-authored-by: Lionel Fleury <lionel_fleury@hotmail.com>1 parent bf3c073 commit 95689ff
1 file changed
+4
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 143 | | |
161 | 144 | | |
162 | 145 | | |
| |||
184 | 167 | | |
185 | 168 | | |
186 | 169 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 170 | | |
191 | | - | |
192 | 171 | | |
| 172 | + | |
193 | 173 | | |
194 | 174 | | |
195 | 175 | | |
| |||
198 | 178 | | |
199 | 179 | | |
200 | 180 | | |
201 | | - | |
202 | 181 | | |
| 182 | + | |
203 | 183 | | |
204 | 184 | | |
205 | 185 | | |
206 | 186 | | |
207 | 187 | | |
208 | 188 | | |
209 | 189 | | |
210 | | - | |
211 | | - | |
| 190 | + | |
| 191 | + | |
212 | 192 | | |
213 | 193 | | |
214 | 194 | | |
| |||
0 commit comments