From c16ae329ff3b0fb27afb857dbd33e248936694f5 Mon Sep 17 00:00:00 2001 From: kurokobo Date: Tue, 16 Jan 2024 08:06:48 +0900 Subject: [PATCH] fix: enable BUILD_ARGS in docker-buildx target (#170) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a824816b..f50e8a46 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le docker-buildx: ## Build and push docker image for the manager for cross-platform support - docker buildx create --name project-v3-builder docker buildx use project-v3-builder - - docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile . + - docker buildx build --push $(BUILD_ARGS) --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile . - docker buildx rm project-v3-builder ##@ Deployment