Change handling from push to test

This commit is contained in:
Pascal Vizeli 2017-07-27 11:33:54 +02:00 committed by GitHub
parent a6b9d39118
commit 5a71442b18

View file

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