Fix variables for Dockerhub build

This commit is contained in:
Christian Mäder 2019-12-10 21:25:36 +01:00
parent c083baf640
commit 809570f4bc
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ ensure_jq() {
# Passes args to the scripts # Passes args to the scripts
run_build() { run_build() {
echo "🐳🐳🐳 Building '${BUILD}' images" echo "🐳🐳🐳 Building '${BUILD}' images"
case $BUILD in case ${BUILD} in
release) release)
# build the latest release # build the latest release
# shellcheck disable=SC2068 # shellcheck disable=SC2068
@ -49,9 +49,9 @@ run_build() {
} }
echo "🤖🤖🤖 Preparing build" echo "🤖🤖🤖 Preparing build"
export DOCKER_ORG="index.docker.io/netboxcommunity" export DOCKER_ORG=netboxcommunity
export DOCKER_REPO=netbox export DOCKER_REPO=netbox
export DOCKERHUB_REPO=netboxcommunity/netbox export DOCKER_REGISTRY=docker.io
# shellcheck disable=SC2153 # shellcheck disable=SC2153
export BUILD="${DOCKER_TAG}" export BUILD="${DOCKER_TAG}"