Skip to content

Commit

Permalink
Add linux/arm64 and linux/386 architectures building
Browse files Browse the repository at this point in the history
  • Loading branch information
rodriguezny committed Sep 30, 2024
1 parent 074fc11 commit a50fbf9
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 a50fbf9

Please sign in to comment.