From 809570f4bc5db6b0e54e5dbbada1d6966f44165b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 10 Dec 2019 21:25:36 +0100 Subject: [PATCH] Fix variables for Dockerhub build --- hooks/common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/common b/hooks/common index 49cd507..0f0223e 100755 --- a/hooks/common +++ b/hooks/common @@ -14,7 +14,7 @@ ensure_jq() { # Passes args to the scripts run_build() { echo "🐳🐳🐳 Building '${BUILD}' images" - case $BUILD in + case ${BUILD} in release) # build the latest release # shellcheck disable=SC2068 @@ -49,9 +49,9 @@ run_build() { } echo "🤖🤖🤖 Preparing build" -export DOCKER_ORG="index.docker.io/netboxcommunity" +export DOCKER_ORG=netboxcommunity export DOCKER_REPO=netbox -export DOCKERHUB_REPO=netboxcommunity/netbox +export DOCKER_REGISTRY=docker.io # shellcheck disable=SC2153 export BUILD="${DOCKER_TAG}"