mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Allow overriding Docker repository when building docker image
This commit is contained in:
parent
ba90c5a2e0
commit
c819ae4d8c
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user