Skip to content

Commit

Permalink
Merge pull request #1261 from rodriguezny/add-arm64-and-linux-386-to-…
Browse files Browse the repository at this point in the history
…the-build-command

Add linux/arm64 and linux/386 architectures building
  • Loading branch information
rodriguezny authored Sep 30, 2024
2 parents 074fc11 + a50fbf9 commit 17dd6e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ docker-push: ## build, tag, and push image to dockerhub. presumes you are logge
@[ "$(tag)" = "" ] && (echo "Tag required. Example tag=1.2.3" ; exit 1)
@image=$(DOCKERHUB_REPO):$(tag)
@echo "Building image $${image}"
@docker buildx build . --platform linux/amd64 \
@docker buildx build . --platform linux/386,linux/amd64,linux/arm64 \
-t $${image} -f docker/Dockerfile --push
# TODO: build for arm architectures

.PHONY: dockerhub-push-readme
.ONESHELL:
Expand Down

0 comments on commit 17dd6e9

Please sign in to comment.