Skip to content

Commit

Permalink
CI: Fix binary building (#19862)
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr authored Oct 25, 2024
1 parent 4e38367 commit fb6b1e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/jenkins/minikube_cross_build_and_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ readonly bucket="minikube-builds"
# Make sure the right golang version is installed based on Makefile
./hack/jenkins/installers/check_install_golang.sh /usr/local

sudo apt-get -y install fakeroot

declare -rx BUILD_IN_DOCKER=y
declare -rx GOPATH=/var/lib/jenkins/go
declare -rx GOPATH="$HOME/go"
declare -rx ISO_BUCKET="${bucket}/${ghprbPullId}"
declare -rx ISO_VERSION="testing"
declare -rx TAG="${ghprbActualCommit}"
Expand All @@ -48,6 +49,7 @@ make -j 16 \
out/minikube_${DEB_VER}_arm64.deb \
out/docker-machine-driver-kvm2_$(make deb_version_base).deb \
out/docker-machine-driver-kvm2_${DEB_VER}_amd64.deb \
out/docker-machine-driver-kvm2_${DEB_VER}_arm64.deb \
&& failed=$? || failed=$?

BUILT_VERSION=$("out/minikube-$(go env GOOS)-$(go env GOARCH)" version)
Expand Down

0 comments on commit fb6b1e4

Please sign in to comment.