Skip to content

Commit

Permalink
Merge pull request #201 from netbox-community/fix_docker_build
Browse files Browse the repository at this point in the history
Fix variables for Dockerhub build
  • Loading branch information
cimnine authored Dec 20, 2019
2 parents 7af8838 + 809570f commit 1c899b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hooks/common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"

Expand Down

0 comments on commit 1c899b5

Please sign in to comment.