mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 15:51:20 +00:00
Fixing deploy.sh
This commit is contained in:
parent
207caeda5b
commit
ceb1284f27
1 changed files with 7 additions and 9 deletions
16
docker/prod/deploy.sh
vendored
16
docker/prod/deploy.sh
vendored
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
# git checkout master
|
git checkout master
|
||||||
|
|
||||||
# Import translations
|
# Import translations
|
||||||
git fetch weblate
|
git fetch weblate
|
||||||
|
@ -38,19 +38,17 @@ export DOCKER_BUILDKIT=1
|
||||||
|
|
||||||
# Rebuilding docker
|
# Rebuilding docker
|
||||||
if [ $third_semver -eq 0 ]; then
|
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
|
# TODO get linux/arm/v7 build working
|
||||||
# Build for Raspberry Pi / other archs too
|
# Build for Raspberry Pi / other archs too
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 ../../ \
|
docker buildx build --platform linux/amd64,linux/arm64 ../../ \
|
||||||
--file Dockerfile \
|
--file Dockerfile \
|
||||||
--tag dessalines/lemmy:$new_tag \
|
--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
|
fi
|
||||||
|
|
||||||
# Push
|
# Push
|
||||||
|
|
Loading…
Reference in a new issue