@@ -147,7 +147,7 @@ docker_build() {
148 # define the docker image name
148 # define the docker image name
149 GITHUB_USER=$(echo "${GIT_URL}" | sed 's/.*github\.com\/\([^\/]*\).*/\1/')
149 GITHUB_USER=$(echo "${GIT_URL}" | sed 's/.*github\.com\/\([^\/]*\).*/\1/')
150− SEARX_IMAGE_NAME="${GITHUB_USER:-searx}/searx"
150+ SEARX_IMAGE_NAME="${SEARX_IMAGE_NAME:-${GITHUB_USER:-searx}/searx}"
152 # build Docker image
152 # build Docker image
153 echo "Building image ${SEARX_IMAGE_NAME}:${SEARX_GIT_VERSION}"
153 echo "Building image ${SEARX_IMAGE_NAME}:${SEARX_GIT_VERSION}"