mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Adopt docker setup for addons (opt-in)
This commit is contained in:
@ -16,6 +16,8 @@ if [ -z "$2" ] || [ "$2" == "--push" ]; then
|
||||
if [ ! -z "$push" ]; then
|
||||
echo "Running with $push !"
|
||||
fi
|
||||
elif [ "$2" == "--load" ]; then
|
||||
push="$2"
|
||||
else
|
||||
echo "Don't understand second argument: $2"
|
||||
exit 1
|
||||
@ -32,7 +34,7 @@ cd "$(dirname "$0")"
|
||||
|
||||
trap "{ docker buildx rm docspell-builder; }" EXIT
|
||||
|
||||
platforms="linux/amd64,linux/arm64,linux/arm/v7"
|
||||
platforms=${PLATFORMS:-"linux/amd64,linux/arm64,linux/arm/v7"}
|
||||
docker buildx create --name docspell-builder --use
|
||||
|
||||
case $version in
|
||||
|
Reference in New Issue
Block a user