Fix virtctl build for linux-amd64
By accident we used `uname -m` which leads sometimes to x86_64 in the
name and sometimes to amd64. Hardcoding the build for amd64, to avoid
confusion for consumers on releases.
The build-platform-native virtctl is still built independent of that and
is not released, as intended.
@@ -46,9 +46,9 @@ bazel run \
# linux
bazel run \
- --config=${ARCHITECTURE} \
+ --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 \
--stamp \
- :build-virtctl -- ${CMD_OUT_DIR}/virtctl/virtctl-${KUBEVIRT_VERSION}-linux-${ARCHITECTURE}
+ :build-virtctl -- ${CMD_OUT_DIR}/virtctl/virtctl-${KUBEVIRT_VERSION}-linux-amd64
# darwin
bazel run \
