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>2022-10-12 20:12:41 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-10-12 20:12:41 +0300
commita409705ba7cd4077383ef8bb35cc1cd55b236deb (patch)
tree6124d9ae26a4b92d27d5217c295f4b7a3a50189e /latest.Dockerfile
parent39551dd7e9886f728bbb1ab850573de38dd032e7 (diff)
Refactor Archives page to use versions.json
Diffstat (limited to 'latest.Dockerfile')
-rw-r--r--latest.Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/latest.Dockerfile b/latest.Dockerfile
index 0db96e48..63a7a6ed 100644
--- a/latest.Dockerfile
+++ b/latest.Dockerfile
@@ -41,13 +41,13 @@ COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:nginx-onbuild /etc/nginx/
RUN rm -rf /usr/share/nginx/html/*
# Get all the archive static HTML and put it into place
-# Copy the versions found in 'content/_data/versions.yaml' under online
+# Copy the versions found in 'content/versions.json' under "current" and "last_minor"
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.4 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.3 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.2 ${TARGET} ${TARGET}
# List the two last major versions
-# Copy the versions found in 'content/_data/versions.yaml' under previous_majors
+# Copy the versions found in 'content/versions.json' under "last_major"
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:14.10 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:13.12 ${TARGET} ${TARGET}