From a0dcc1aba82abd867aec82e11c7a767db7b9d52b Mon Sep 17 00:00:00 2001 From: Nicholas Alipaz Date: Wed, 4 Oct 2017 15:43:41 -0700 Subject: [PATCH] shippable doesn't like this ternary thingy I was doing --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index f7eaa90..b993323 100644 --- a/shippable.yml +++ b/shippable.yml @@ -26,5 +26,5 @@ build: ci: - shopt -s dotglob && cp ${SHIPPABLE_BUILD_DIR}/. /docker/ -rf && shopt -u dotglob - - [ $IS_RELEASE == true ] && PUSH='--push' || PUSH='' + - if [ $IS_RELEASE == true ]; then PUSH='--push'; else PUSH=''; fi - docker run --rm --privileged --volumes-from ${SHIPPABLE_CONTAINER_NAME} -v /root/.docker:/root/.docker hassioaddons/build-env:latest --target ${ADDON} --from "homeassistant/{arch}-base:latest" --tag-latest ${PUSH} --${ARCH}