Commit 403f4283 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'vshushlin-master-patch-71808' into 'master'

Fix release example in docs

See merge request gitlab-org/gitlab!84880
parents bfc52d56 75b74071
...@@ -2696,8 +2696,8 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/ ...@@ -2696,8 +2696,8 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/
**Example of `release` keyword**: **Example of `release` keyword**:
```yaml ```yaml
release_job: release_job:
stage: release stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
rules: rules:
...@@ -2705,9 +2705,10 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/ ...@@ -2705,9 +2705,10 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/
script: script:
- echo "Running the release job." - echo "Running the release job."
release: release:
tag_name: $CI_COMMIT_TAG
name: 'Release $CI_COMMIT_TAG' name: 'Release $CI_COMMIT_TAG'
description: 'Release created using the release-cli.' description: 'Release created using the release-cli.'
``` ```
This example creates a release: This example creates a release:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment