Skip to content

Commit 2b5190a

Browse files
committed
add platform to makefile
1 parent 279835f commit 2b5190a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,22 @@ push-images:
1414

1515
images: mod.vendor
1616
docker build \
17+
--platform linux/amd64 \
1718
--build-arg plugin_version=$(PLUGIN_VERSION) \
1819
--build-arg fluent_bit_version=$(FLUENT_BIT_1_6) \
1920
-t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_6) .
2021
docker build \
22+
--platform linux/amd64 \
2123
--build-arg plugin_version=$(PLUGIN_VERSION) \
2224
--build-arg fluent_bit_version=$(FLUENT_BIT_1_7) \
2325
-t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_7) .
2426
docker build \
27+
--platform linux/amd64 \
2528
--build-arg plugin_version=$(PLUGIN_VERSION) \
2629
--build-arg fluent_bit_version=$(FLUENT_BIT_1_8) \
2730
-t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_8) .
2831
docker build \
32+
--platform linux/amd64 \
2933
--build-arg plugin_version=$(PLUGIN_VERSION) \
3034
--build-arg fluent_bit_version=$(FLUENT_BIT_1_9) \
3135
-t $(DOCKER_IMAGE):$(PLUGIN_VERSION)-fluent-bit-$(FLUENT_BIT_1_9) .

0 commit comments

Comments
 (0)