Update synapse build
This commit is contained in:
parent
4a664b6e30
commit
019b402c44
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue