Change frompush to test

This commit is contained in:
Pascal Vizeli 2017-07-27 11:36:11 +02:00 committed by GitHub
parent 59c18a439c
commit 7109cb80e1

View file

@ -2,7 +2,7 @@
set -e
BUILD_CONTAINER_NAME=homeassistant-generic-build-$$
DOCKER_PUSH="false"
DOCKER_PUSH="true"
DOCKER_CACHE="false"
DOCKER_WITH_LATEST="true"
DOCKER_HUB=homeassistant
@ -38,8 +38,8 @@ Options:
-a, --arch
Arch type for HomeAssistant build.
-p, --push
Upload the build to docker hub.
-t, --test
Don't upload the build to docker hub.
EOF
}
@ -63,8 +63,8 @@ while [[ $# -gt 0 ]]; do
ARCH=$2
shift
;;
-p|--push)
DOCKER_PUSH="true"
-t|--test)
DOCKER_PUSH="false"
;;
*)
echo "[WARNING] $0 : Argument '$1' unknown. Ignoring."