Merge pull request #201 from netbox-community/fix_docker_build

Fix variables for Dockerhub build
This commit is contained in:
Christian Mäder 2019-12-20 11:42:59 +01:00 committed by GitHub
commit 1c899b55eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}"