feat(ci): make it possible to combine --skip arguments to build-docker.sh

pull/2633/head
Pavol Rusnak 1 year ago
parent 1852059e87
commit a393267461
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -43,6 +43,12 @@ CONTAINER_FS_URL=${CONTAINER_FS_URL:-"$ALPINE_CDN/v$ALPINE_RELEASE/releases/$ALP
VARIANTS_core=(0 1)
VARIANTS_legacy=(0 1)
if [ "$1" == "--skip-bitcoinonly" ]; then
VARIANTS_core=(0)
VARIANTS_legacy=(0)
shift
fi
if [ "$1" == "--skip-core" ]; then
VARIANTS_core=()
shift
@ -53,12 +59,6 @@ if [ "$1" == "--skip-legacy" ]; then
shift
fi
if [ "$1" == "--skip-bitcoinonly" ]; then
VARIANTS_core=(0)
VARIANTS_legacy=(0)
shift
fi
TAG=${1:-master}
REPOSITORY=${2:-/local}
PRODUCTION=${PRODUCTION:-1}

Loading…
Cancel
Save