diff options
author | 3nprob <3nprob@3nprob> | 2021-04-05 15:51:04 +0900 |
---|---|---|
committer | 3nprob <3nprob@3nprob> | 2021-04-05 15:53:52 +0900 |
commit | c819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5 (patch) | |
tree | 80f7b5e38c41e1e46dda2b2deeb2641274c85520 | |
parent | ba90c5a2e0629b0a04a090f11781782d15ca5dbe (diff) | |
download | searxng-c819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5.tar.gz searxng-c819ae4d8c6aaa3cc9a0ecc2b1a9cd2b6bc05ac5.zip |
Allow overriding Docker repository when building docker image
-rwxr-xr-x | manage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |