Merge pull request #2726 from 3nprob/custom-docker-repository
Allow overriding Docker repository when building docker image
commitb40af000f38bac645c911b2d140f0e551c8c5da1
authorNoémi Ványi <kvch@users.noreply.github.com>
dateMon 5 Apr 2021, 20:48 (6 years ago)
parent736d065c819ae4
manage.sh+1−1
@@ -147,7 +147,7 @@ docker_build() {
147147
148148 # define the docker image name
149149 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}"
151151
152152 # build Docker image
153153 echo "Building image ${SEARX_IMAGE_NAME}:${SEARX_GIT_VERSION}"