Skip to content

Commit

Permalink
Disable s390x build (knative#545)
Browse files Browse the repository at this point in the history
* Disable s390x build

* Try base image from internal registry
  • Loading branch information
dsimansk authored Dec 9, 2020
1 parent 2dd4334 commit 1241c4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ cross_build() {
GOOS=darwin GOARCH=amd64 go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-darwin-amd64 ./cmd/... || failed=1
echo " 🎠 kn-windows-amd64.exe"
GOOS=windows GOARCH=amd64 go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-windows-amd64.exe ./cmd/... || failed=1
echo " Z kn-linux-s390x"
GOOS=linux GOARCH=s390x go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-linux-s390x ./cmd/... || failed=1
#echo " Z kn-linux-s390x"
#GOOS=linux GOARCH=s390x go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-linux-s390x ./cmd/... || failed=1

return ${failed}
}
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Dockerfile to bootstrap build and test in openshift-ci
FROM openshift/origin-release:golang-1.14
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.14

# Add kubernetes repository
ADD openshift/ci-operator/build-image/kubernetes.repo /etc/yum.repos.d/
Expand Down

0 comments on commit 1241c4f

Please sign in to comment.