From 2b5190a41bf8f33913dd05bf5a6b6e1aa429a4a9 Mon Sep 17 00:00:00 2001 From: candiduslynx Date: Thu, 17 Mar 2022 15:21:52 +0300 Subject: [PATCH] add platform to makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6435748..7bce6d1 100644 --- a/Makefile +++ b/Makefile @@ -14,18 +14,22 @@ push-images: images: mod.vendor docker build \ + --platform linux/amd64 \ --build-arg plugin_version=$(PLUGIN_VERSION) \ --build-arg fluent_bit_version=$(FLUENT_BIT_1_6) \ -t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_6) . docker build \ + --platform linux/amd64 \ --build-arg plugin_version=$(PLUGIN_VERSION) \ --build-arg fluent_bit_version=$(FLUENT_BIT_1_7) \ -t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_7) . docker build \ + --platform linux/amd64 \ --build-arg plugin_version=$(PLUGIN_VERSION) \ --build-arg fluent_bit_version=$(FLUENT_BIT_1_8) \ -t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_8) . docker build \ + --platform linux/amd64 \ --build-arg plugin_version=$(PLUGIN_VERSION) \ --build-arg fluent_bit_version=$(FLUENT_BIT_1_9) \ -t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_9) .