change handling from -p to -t for tests

This commit is contained in:
Pascal Vizeli 2017-07-27 11:31:08 +02:00 committed by GitHub
parent ad989cba23
commit b6eb6c87d3

View file

@ -2,7 +2,7 @@
set -e
BUILD_CONTAINER_NAME=hassio-addons-$$
DOCKER_PUSH="false"
DOCKER_PUSH="true"
DOCKER_CACHE="true"
DOCKER_WITH_LATEST="true"
BRANCH=master
@ -42,8 +42,8 @@ Options:
-a, --arch armhf|aarch64|i386|amd64
Arch for addon build.
-p, --push
Upload the build to docker hub.
-t, --test
Don't upload the build to docker hub.
-n, --no-cache
Disable build from cache
EOF
@ -77,8 +77,8 @@ while [[ $# -gt 0 ]]; do
ARCH=$2
shift
;;
-p|--push)
DOCKER_PUSH="true"
-t|--test)
DOCKER_PUSH="false"
;;
-n|--no-cache)
DOCKER_CACHE="false"