Skip to content

Commit

Permalink
Merge pull request metal3-io#1639 from Nordix/lentzi90/arch-from-go-env
Browse files Browse the repository at this point in the history
🌱 Set ARCH based on go env
  • Loading branch information
metal3-io-bot authored May 2, 2024
2 parents e1ca9fa + a12acd6 commit 27e40a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ BMO_IMAGE_NAME ?= baremetal-operator
BMO_CONTROLLER_IMG ?= $(REGISTRY)/$(BMO_IMAGE_NAME)
TAG ?= v1beta1
BMO_TAG ?= capm3-$(TAG)
ARCH ?= amd64
ARCH ?= $(shell go env GOARCH)
ALL_ARCH = amd64 arm arm64 ppc64le s390x

# Allow overriding manifest generation destination directory
Expand All @@ -96,7 +96,6 @@ ENVTEST_OS := linux
ifeq ($(shell uname -s), Darwin)
ENVTEST_OS := darwin
endif
ARCH ?= amd64

## --------------------------------------
## Help
Expand Down

0 comments on commit 27e40a9

Please sign in to comment.