diff options
-rw-r--r-- | content/_data/versions.yaml | 3 | ||||
-rw-r--r-- | latest.Dockerfile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/content/_data/versions.yaml b/content/_data/versions.yaml index 568573b4..67294443 100644 --- a/content/_data/versions.yaml +++ b/content/_data/versions.yaml @@ -7,9 +7,9 @@ previous_majors: # The first online version should always point to the # current stable version. online: + - "15.1" - "15.0" - "14.10" - - "14.9" # The last version before the next major release. Verify near 14.10 as there may be more 14.X versions. last_before_new_major: @@ -18,6 +18,7 @@ last_before_new_major: # Versions not appearing in the dropdown, but available as Docker images # https://docs.gitlab.com/archives/#offline-archives offline: + - "14.9" - "14.8" - "14.7" - "14.6" diff --git a/latest.Dockerfile b/latest.Dockerfile index a78ba557..e565ee7e 100644 --- a/latest.Dockerfile +++ b/latest.Dockerfile @@ -42,9 +42,9 @@ 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 --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.1 ${TARGET} ${TARGET} COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:15.0 ${TARGET} ${TARGET} COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:14.10 ${TARGET} ${TARGET} -COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:14.9 ${TARGET} ${TARGET} # List the two last major versions # Copy the versions found in 'content/_data/versions.yaml' under previous_majors |