From 222374583bec5e075fc0b1a56bff529b9819ee68 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 20 Jan 2020 14:39:41 -0500 Subject: [PATCH] Adding to deploy. --- docker/dev/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/dev/deploy.sh b/docker/dev/deploy.sh index 8a709dcd9..6b79f8f2d 100755 --- a/docker/dev/deploy.sh +++ b/docker/dev/deploy.sh @@ -24,9 +24,6 @@ git add ../prod/docker-compose.yml # The commit git commit -m"Version $new_tag" -# Registering qemu binaries -docker run --rm --privileged multiarch/qemu-user-static:register --reset - # Rebuilding docker docker-compose build docker tag dev_lemmy:latest dessalines/lemmy:x64-$new_tag @@ -42,6 +39,9 @@ docker push dessalines/lemmy:x64-$new_tag # aarch64 # Only do this on major releases (IE the third semver is 0) if [ $third_semver -eq 0 ]; then + # Registering qemu binaries + docker run --rm --privileged multiarch/qemu-user-static:register --reset + docker build -t lemmy:aarch64 -f Dockerfile.aarch64 ../../ docker tag lemmy:aarch64 dessalines/lemmy:arm64-$new_tag docker push dessalines/lemmy:arm64-$new_tag