diff options
author | Evan Read <eread@gitlab.com> | 2022-05-10 17:24:18 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-05-10 17:24:18 +0300 |
commit | 1d6e353acc9657522a445863a63fc715d6d676ab (patch) | |
tree | 55499cc1d33c40a075a2d57d8498b8a3ae5bbf54 /doc | |
parent | ff79701b2b6ea0d0d61857f80a64da05b62460c3 (diff) |
Put Dockerfile file extensions at end of each file
Diffstat (limited to 'doc')
-rw-r--r-- | doc/releases.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/releases.md b/doc/releases.md index 19f7c973..843df785 100644 --- a/doc/releases.md +++ b/doc/releases.md @@ -77,7 +77,7 @@ To create a stable branch of the `gitlab-docs` project and a Docker image for th ./bin/rake "release:single[13.9]" ``` - A branch for the release is created, a new `Dockerfile.13.9` is created, and `.gitlab-ci.yml` + A branch for the release is created, a new `13.9.Dockerfile` is created, and `.gitlab-ci.yml` has branches variables updated into a new branch. These files are automatically committed. 1. Push the newly created branch, but **don't create a merge request**. @@ -102,7 +102,7 @@ Prerequisite: 1. Build the image and run it. For example, for GitLab 13.9 documentation: ```shell - docker build -t docs:13.9 -f Dockerfile.13.9 . + docker build -t docs:13.9 -f 13.9.Dockerfile . docker run -it --rm -p 4000:4000 docs:13.9 ``` @@ -148,12 +148,12 @@ To create the release merge request for the release: - Move the oldest version in `online:` to the `offline:` section. There should now be three versions in `online:`. -1. Edit `Dockerfile.main` by removing the oldest version, and then adding the newest version to the top of the list. +1. Edit `latest.Dockerfile` by removing the oldest version, and then adding the newest version to the top of the list. 1. Commit and push to create the merge request. For example: ```shell - git add content/_data/versions.yaml Dockerfile.main + git add content/_data/versions.yaml latest.Dockerfile git commit -m "Release 13.9" git push origin release-13-9 ``` |