Skip to content

Commit

Permalink
ci: add build arm platform
Browse files Browse the repository at this point in the history
  • Loading branch information
lekotros committed Feb 6, 2023
1 parent 8fd6a30 commit 9459824
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ docker-release:
docker tag ${DOCKER_USERNAME}/${APP_NAME}:${DOCKER_TAG} ${DOCKER_USERNAME}/${APP_NAME}:latest
docker push ${DOCKER_USERNAME}/${APP_NAME}:latest

# example: make docker-buildx-release DOCKER_USERNAME=lekojson DOCKER_TAG=0.5.1
docker-buildx-release:
docker buildx build \
--platform=linux/amd64 \
--platform=linux/arm64 \
-t ${DOCKER_USERNAME}/${APP_NAME}:${DOCKER_TAG} \
-t ${DOCKER_USERNAME}/${APP_NAME}:latest \
--push \
Expand Down

0 comments on commit 9459824

Please sign in to comment.