Fix binary name break in scripts/imagebuild.sh
@@ -21,7 +21,7 @@ set -o pipefail
base_dir="$(cd "$(dirname "$0")/.." ; pwd)"
dockerfile_dir="${base_dir}/images/federation-v2"
-[ -f "$base_dir/bin/hyperfed" ] || { echo "$base_dir/bin/hyperfed not found" ; exit 1 ;}
+[ -f "$base_dir/bin/hyperfed-linux" ] || { echo "$base_dir/bin/hyperfed-linux not found" ; exit 1 ;}
echo "travis tag: ${TRAVIS_TAG}"
echo "travis branch:${TRAVIS_BRANCH}"
if [[ "${TRAVIS_TAG}" =~ ^v([0-9]\.)+([0-9])[-a-zA-Z0-9]*([.0-9])* ]]; then
@@ -42,7 +42,7 @@ export REGISTRY=quay.io/
export REPO=kubernetes-multicluster
echo "Copy hyperfed"
-cp ${base_dir}/bin/hyperfed ${dockerfile_dir}/hyperfed
+cp ${base_dir}/bin/hyperfed-linux ${dockerfile_dir}/hyperfed
echo "Logging into registry ${REGISTRY///}"
docker login -u "${QUAY_USERNAME}" -p "${QUAY_PASSWORD}" quay.io
