mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
First of all this removes the need for a network connection, second renovate can update the version as it is tracked in go.mod. However the real important part is that the binary downloads are broken[1]. For some reason the swagger created with them does not include all the type information for the examples. However when building from source the same thing works fine. [1] https://github.com/go-swagger/go-swagger/issues/2842 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
21 lines
461 B
Bash
21 lines
461 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo '# linux arm7'
|
|
GOARM=7 GOARCH=arm GOOS=linux go build
|
|
echo '# linux arm5'
|
|
GOARM=5 GOARCH=arm GOOS=linux go build
|
|
echo '# windows 386'
|
|
GOARCH=386 GOOS=windows go build
|
|
echo '# windows amd64'
|
|
GOARCH=amd64 GOOS=windows go build
|
|
echo '# darwin'
|
|
GOARCH=amd64 GOOS=darwin go build
|
|
echo '# freebsd'
|
|
GOARCH=amd64 GOOS=freebsd go build
|
|
echo '# aix ppc64'
|
|
GOARCH=ppc64 GOOS=aix go build
|
|
echo '# solaris amd64'
|
|
GOARCH=amd64 GOOS=solaris go build
|