From 85797659e466f50cce255b741833708aa7f0103c Mon Sep 17 00:00:00 2001 From: Amit Sahastrabuddhe <33931378+AmitSahastra@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:56:00 +0530 Subject: [PATCH] PCP-1961: cluster api provider maas make and docker changes (#99) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 43d66d7..44e55a7 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ REPO_ROOT := $(shell git rev-parse --show-toplevel) FIPS_ENABLE ?= "" BUILDER_GOLANG_VERSION ?= 1.21 BUILD_ARGS = --build-arg CRYPTO_LIB=${FIPS_ENABLE} --build-arg BUILDER_GOLANG_VERSION=${BUILDER_GOLANG_VERSION} +ARCH ?= amd64 ALL_ARCH = amd64 arm64 RELEASE_LOC := release @@ -161,7 +162,7 @@ generate-manifests: ## Generate manifests # Build the docker image .PHONY: docker-build docker-build: #test - docker buildx build --load --platform linux/${ARCH} ${BUILD_ARGS} --build-arg ARCH=$(ARCH) --build-arg LDFLAGS="$(LDFLAGS)" --build-arg CRYPTO_LIB=${FIPS_ENABLE} . -t $(CONTROLLER_IMG)-$(ARCH):$(IMG_TAG) + docker buildx build --load --platform linux/$(ARCH) ${BUILD_ARGS} --build-arg ARCH=$(ARCH) --build-arg LDFLAGS="$(LDFLAGS)" --build-arg CRYPTO_LIB=${FIPS_ENABLE} . -t $(CONTROLLER_IMG)-$(ARCH):$(IMG_TAG) # Push the docker image .PHONY: docker-push