From 019b402c444fff689b01b7956faf83be4639db1e Mon Sep 17 00:00:00 2001 From: "Aode (Lion)" Date: Thu, 21 Oct 2021 23:18:52 -0500 Subject: [PATCH] Update synapse build --- synapse/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/synapse/build.sh b/synapse/build.sh index 4ce6067..b323115 100755 --- a/synapse/build.sh +++ b/synapse/build.sh @@ -22,14 +22,14 @@ function print_help() { require "$TAG" tag -if ! docker run --rm -it arm64v8/ubuntu:19.10 /bin/bash -c 'echo "docker is configured correctly"'; then +if ! sudo docker run --rm -it arm64v8/ubuntu:19.10 /bin/bash -c 'echo "docker is configured correctly"'; then echo "docker is not configured to run on qemu-emulated architectures, fixing will require sudo" sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes fi set -xe -docker build \ +sudo docker build \ --pull \ --no-cache \ -f Dockerfile \ @@ -38,6 +38,6 @@ docker build \ -t asonix/synapse:latest \ . -docker push "asonix/synapse:$TAG-arm64v8" -docker push asonix/synapse:latest-arm64v8 -docker push asonix/synapse:latest +sudo docker push "asonix/synapse:$TAG-arm64v8" +sudo docker push asonix/synapse:latest-arm64v8 +sudo docker push asonix/synapse:latest