File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ readonly S2I_GO_PACKAGE=github.com/openshift/source-to-image
28
28
readonly S2I_GOPATH=" ${S2I_OUTPUT} /go"
29
29
30
30
readonly S2I_CROSS_COMPILE_PLATFORMS=(
31
- linux/amd64
32
31
darwin/amd64
33
- windows/amd64
32
+ darwin/arm64
34
33
linux/386
34
+ linux/amd64
35
+ linux/arm64
35
36
linux/ppc64le
36
37
linux/s390x
37
- linux/arm64
38
- darwin /arm64
38
+ windows/amd64
39
+ windows /arm64
39
40
)
40
41
readonly S2I_CROSS_COMPILE_TARGETS=(
41
42
cmd/s2i
@@ -268,7 +269,7 @@ s2i::build::place_bins() {
268
269
local -a binaries=()
269
270
for binary in " ${targets[@]} " ; do
270
271
binary=$( basename $binary )
271
- if [[ $platform == " windows/amd64 " ]]; then
272
+ if [[ $platform =~ ^ windows ]]; then
272
273
binaries+=(" ${binary} .exe" )
273
274
else
274
275
binaries+=(" ${binary} " )
You can’t perform that action at this time.
0 commit comments