summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3nprob <3nprob@3nprob>2021-04-05 15:51:04 +0900
committer3nprob <3nprob@3nprob>2021-04-05 15:53:52 +0900
commitc819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5 (patch)
tree80f7b5e38c41e1e46dda2b2deeb2641274c85520
parentba90c5a2e0629b0a04a090f11781782d15ca5dbe (diff)
downloadsearxng-c819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5.tar.gz
searxng-c819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5.zip
Allow overriding Docker repository when building docker image
-rwxr-xr-xmanage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.sh b/manage.sh
index bb86329f9..54511dc16 100755
--- a/manage.sh
+++ b/manage.sh
@@ -147,7 +147,7 @@ docker_build() {
# define the docker image name
GITHUB_USER=$(echo "${GIT_URL}" | sed 's/.*github\.com\/\([^\/]*\).*/\1/')
- SEARX_IMAGE_NAME="${GITHUB_USER:-searx}/searx"
+ SEARX_IMAGE_NAME="${SEARX_IMAGE_NAME:-${GITHUB_USER:-searx}/searx}"
# build Docker image
echo "Building image ${SEARX_IMAGE_NAME}:${SEARX_GIT_VERSION}"