Skip to content

Commit

Permalink
Merge pull request #1659 from Links2004/arm-support
Browse files Browse the repository at this point in the history
add ARMv7 support
  • Loading branch information
k8s-ci-robot authored Apr 25, 2024
2 parents cc9cb87 + 8acff5e commit 688e3ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ BUILD_FLAGS = -tags osusergo,netgo \
-ldflags "-s -w -extldflags=-static -X sigs.k8s.io/node-feature-discovery/pkg/version.version=$(VERSION) -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=$(HOSTMOUNT_PREFIX)"

# multi-arch build with buildx
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7

# enable buildx
ensure-buildx:
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-infra/build-image-cross.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e

# cross build
make image-all
IMAGE_ALL_PLATFORMS=linux/amd64,linux/arm64 make image-all

0 comments on commit 688e3ce

Please sign in to comment.