Fix docker build script for releases

This commit is contained in:
eikek 2021-06-18 23:53:41 +02:00
parent e22683c9f6
commit d6d2793554

View File

@ -62,7 +62,7 @@ if [[ $version == *SNAPSHOT* ]]; then
else
echo ">>>> Building release images for $version <<<<<"
echo "============ Building Tools ============"
docker build \
docker buildx build \
--platform="$platforms" $push \
--build-arg version=$version \
--tag docspell/tools:v$version \
@ -70,7 +70,7 @@ else
-f tools.dockerfile .
echo "============ Building Restserver ============"
docker build \
docker buildx build \
--platform="$platforms" $push \
--build-arg version=$version \
--tag docspell/restserver:v$version \
@ -78,7 +78,7 @@ else
-f restserver.dockerfile .
echo "============ Building Joex ============"
docker build \
docker buildx build \
--platform="$platforms" $push \
--build-arg version=$version \
--tag docspell/joex:v$version \