mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
feat(ci): make it possible to combine --skip arguments to build-docker.sh
This commit is contained in:
parent
1852059e87
commit
a393267461
@ -43,6 +43,12 @@ CONTAINER_FS_URL=${CONTAINER_FS_URL:-"$ALPINE_CDN/v$ALPINE_RELEASE/releases/$ALP
|
|||||||
VARIANTS_core=(0 1)
|
VARIANTS_core=(0 1)
|
||||||
VARIANTS_legacy=(0 1)
|
VARIANTS_legacy=(0 1)
|
||||||
|
|
||||||
|
if [ "$1" == "--skip-bitcoinonly" ]; then
|
||||||
|
VARIANTS_core=(0)
|
||||||
|
VARIANTS_legacy=(0)
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" == "--skip-core" ]; then
|
if [ "$1" == "--skip-core" ]; then
|
||||||
VARIANTS_core=()
|
VARIANTS_core=()
|
||||||
shift
|
shift
|
||||||
@ -53,12 +59,6 @@ if [ "$1" == "--skip-legacy" ]; then
|
|||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" == "--skip-bitcoinonly" ]; then
|
|
||||||
VARIANTS_core=(0)
|
|
||||||
VARIANTS_legacy=(0)
|
|
||||||
shift
|
|
||||||
fi
|
|
||||||
|
|
||||||
TAG=${1:-master}
|
TAG=${1:-master}
|
||||||
REPOSITORY=${2:-/local}
|
REPOSITORY=${2:-/local}
|
||||||
PRODUCTION=${PRODUCTION:-1}
|
PRODUCTION=${PRODUCTION:-1}
|
||||||
|
Loading…
Reference in New Issue
Block a user