Skip to content

Commit

Permalink
add platform to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
candiduslynx committed Mar 17, 2022
1 parent 279835f commit 2b5190a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) .
Expand Down

0 comments on commit 2b5190a

Please sign in to comment.