Skip to content

Commit 550c9f6

Browse files
committed
enable multiarch image
1 parent 30c0d61 commit 550c9f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/deploy_docker.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ else
1919
DOCKER_TAG="$TRAVIS_BRANCH"
2020
fi
2121

22+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
23+
2224
docker login -u "$DOCKER_USER" -p "$DOCKER_PASSWORD"
2325

24-
docker build -f tools/Dockerfile -t "$IMAGE_NAME":"$DOCKER_TAG" .
26+
docker buildx build --platform linux/amd64,linux/arm64 -f tools/Dockerfile -t "$IMAGE_NAME":"$DOCKER_TAG" .
2527

2628
echo "NEW_GIT_TAG=$NEW_GIT_TAG"
2729
if [ ! -z "$NEW_GIT_TAG" ]; then

0 commit comments

Comments
 (0)