Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-01-11 23:33:16 +0300
committerSarah German <sgerman@gitlab.com>2023-01-11 23:33:16 +0300
commit32cfc361e249a0a2d4fa28835e5febe7fd681fc6 (patch)
treeb0b3486f5b85829a677e0e52df8b4d6d422a2b8d
parent86f701fef85383435bf304471248dd4ad647fd38 (diff)
parentc8c99240144eb772e7df2ca993525447efd5fc45 (diff)
Merge branch 'axil-algolia-search-single-docker-15-7' into '15.7'
Set ALGOLIA_SEARCH variable when building the single image (15.7) See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3426 Merged-by: Sarah German <sgerman@gitlab.com> Approved-by: Sarah German <sgerman@gitlab.com> Co-authored-by: Achilleas Pipinellis <axil@gitlab.com>
-rw-r--r--.gitlab/ci/docker-images.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab/ci/docker-images.gitlab-ci.yml b/.gitlab/ci/docker-images.gitlab-ci.yml
index 643b98b1..1bd44c16 100644
--- a/.gitlab/ci/docker-images.gitlab-ci.yml
+++ b/.gitlab/ci/docker-images.gitlab-ci.yml
@@ -165,7 +165,12 @@ image:docs-single:
environment:
name: registry/$CI_COMMIT_REF_SLUG
script:
- - docker build --build-arg NANOC_ENV=${NANOC_ENV} --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME} -t $IMAGE_NAME -f $DOCKERFILE .
+ - docker build
+ --build-arg NANOC_ENV=${NANOC_ENV}
+ --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
+ --build-arg ALGOLIA_SEARCH="true"
+ --tag $IMAGE_NAME
+ --file $DOCKERFILE .
- docker push $IMAGE_NAME
# Only branches with versions like 10.4
rules: