From ceb1284f2733a8fc5e089be823bc109034589cfe Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 17 Jun 2020 22:32:18 -0400 Subject: [PATCH] Fixing deploy.sh --- docker/prod/deploy.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docker/prod/deploy.sh b/docker/prod/deploy.sh index 4cd55c26..2c6e3d31 100755 --- a/docker/prod/deploy.sh +++ b/docker/prod/deploy.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -# git checkout master +git checkout master # Import translations git fetch weblate @@ -38,19 +38,17 @@ export DOCKER_BUILDKIT=1 # Rebuilding docker if [ $third_semver -eq 0 ]; then - docker buildx build --platform linux/amd64 ../../ \ - --file Dockerfile \ - --tag dessalines/lemmy:$new_tag \ - --file docker/dev/Dockerfile.m \ - --push . -else # TODO get linux/arm/v7 build working # Build for Raspberry Pi / other archs too docker buildx build --platform linux/amd64,linux/arm64 ../../ \ --file Dockerfile \ --tag dessalines/lemmy:$new_tag \ - --file docker/dev/Dockerfile.m \ - --push . + --push +else + docker buildx build --platform linux/amd64 ../../ \ + --file Dockerfile \ + --tag dessalines/lemmy:$new_tag \ + --push fi # Push -- 2.44.1