Skip to content

Commit 1c899b5

Browse files
authored
Merge pull request #201 from netbox-community/fix_docker_build
Fix variables for Dockerhub build
2 parents 7af8838 + 809570f commit 1c899b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hooks/common

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ensure_jq() {
1414
# Passes args to the scripts
1515
run_build() {
1616
echo "🐳🐳🐳 Building '${BUILD}' images"
17-
case $BUILD in
17+
case ${BUILD} in
1818
release)
1919
# build the latest release
2020
# shellcheck disable=SC2068
@@ -49,9 +49,9 @@ run_build() {
4949
}
5050

5151
echo "🤖🤖🤖 Preparing build"
52-
export DOCKER_ORG="index.docker.io/netboxcommunity"
52+
export DOCKER_ORG=netboxcommunity
5353
export DOCKER_REPO=netbox
54-
export DOCKERHUB_REPO=netboxcommunity/netbox
54+
export DOCKER_REGISTRY=docker.io
5555
# shellcheck disable=SC2153
5656
export BUILD="${DOCKER_TAG}"
5757

0 commit comments

Comments
 (0)