summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 15:17:11 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 15:17:11 +0100
commit2d12f221a7afbbbaedfb27c5705efd8b94ad6a81 (patch)
treea80a442de10742d71c1c8a50b1492816f28be681
parent3dbade0aed048e6001f2ed0f261c7d26f04768ba (diff)
downloadsearxng-2d12f221a7afbbbaedfb27c5705efd8b94ad6a81.tar.gz
searxng-2d12f221a7afbbbaedfb27c5705efd8b94ad6a81.zip
[fix] docker build: set build argument LABEL_VCS_URL to GIT_URL
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rwxr-xr-xmanage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.sh b/manage.sh
index bb3fe8831..4c11576a3 100755
--- a/manage.sh
+++ b/manage.sh
@@ -213,7 +213,7 @@ docker_build() {
--build-arg VERSION_GITCOMMIT="${VERSION_GITCOMMIT}" \
--build-arg LABEL_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--build-arg LABEL_VCS_REF=$(git rev-parse HEAD) \
- --build-arg LABEL_VCS_URL=$(git remote get-url origin) \
+ --build-arg LABEL_VCS_URL="${GIT_URL}" \
--build-arg TIMESTAMP_SETTINGS=$(git log -1 --format="%cd" --date=unix -- searx/settings.yml) \
--build-arg TIMESTAMP_UWSGI=$(git log -1 --format="%cd" --date=unix -- dockerfiles/uwsgi.ini) \
-t ${SEARX_IMAGE_NAME}:latest -t ${SEARX_IMAGE_NAME}:${SEARX_GIT_VERSION} .