diff options
-rw-r--r-- | content/_data/versions.yaml | 5 | ||||
-rw-r--r-- | latest.Dockerfile | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/content/_data/versions.yaml b/content/_data/versions.yaml index 21ea41a6..568573b4 100644 --- a/content/_data/versions.yaml +++ b/content/_data/versions.yaml @@ -1,15 +1,15 @@ # The two last major supported versions # https://about.gitlab.com/support/statement-of-support.html#we-support-the-current-major-version-and-the-two-previous-major-versions previous_majors: + - "14.10" - "13.12" - - "12.10" # The first online version should always point to the # current stable version. online: + - "15.0" - "14.10" - "14.9" - - "14.8" # 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.8" - "14.7" - "14.6" - "14.5" diff --git a/latest.Dockerfile b/latest.Dockerfile index 7cf809d7..a78ba557 100644 --- a/latest.Dockerfile +++ b/latest.Dockerfile @@ -42,14 +42,14 @@ 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.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} -COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:14.8 ${TARGET} ${TARGET} # List the two last major versions # Copy the versions found in 'content/_data/versions.yaml' under previous_majors +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} -COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.10 ${TARGET} ${TARGET} # Get the built docs output from the previous build stage # This ordering means all previous layers can come from cache unless an archive |