Skip to content

Commit

Permalink
Fix: detect when hardware platform is aarch64 (#281)
Browse files Browse the repository at this point in the history
Currently the makefile fails to select the correct build platform for
arm devices that return `aarch64` as the result for `uname -m`.
  • Loading branch information
k8s-ci-robot authored Sep 17, 2024
2 parents 2a2423a + db00125 commit c8151d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EXISTING_CLUSTER ?=

# Image URL to use all building/pushing image targets
TAG ?= integration-tests
ifeq ($(shell uname -m),arm64)
ifeq ($(shell uname -m),$(filter $(shell uname -m),arm64 aarch64))
BUILD_PLATFORMS ?= linux/arm64
else
BUILD_PLATFORMS ?= linux/amd64
Expand Down

0 comments on commit c8151d5

Please sign in to comment.