add multiarch make target

This commit is contained in:
Umputun
2021-09-24 16:17:47 -05:00
parent ab3a6f7fe6
commit 7f575c4dd7
+5
View File
@@ -11,6 +11,11 @@ bin:
docker:
docker build -t umputun/remark42 --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true .
dockerx:
docker buildx build --build-arg SKIP_FRONTEND_TEST=true --build-arg SKIP_BACKEND_TEST=true \
--progress=plain --platform linux/amd64,linux/arm/v7,linux/arm64 \
-t ghcr.io/umputun/remark42:master -t umputun/remark42:master .
release:
docker build -f Dockerfile.artifacts --no-cache --pull -t remark42.bin .
- @docker rm -f remark42.bin 2>/dev/null || exit 0