Skip to content
代码片段 群组 项目
未验证 提交 1ecab553 编辑于 作者: Marcel Amirault's avatar Marcel Amirault 提交者: GitLab
浏览文件

Merge branch 'furkanayhan-master-patch-52237' into 'master'

Add example jobs to the CI image keyword documentation

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144612



Merged-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Approved-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Reviewed-by: default avatarMarcel Amirault <mamirault@gitlab.com>
Co-authored-by: default avatarFurkan Ayhan <furkanayhn@gmail.com>
No related branches found
No related tags found
无相关合并请求
...@@ -2568,8 +2568,10 @@ The name of the Docker image that the job runs in. Similar to [`image`](#image) ...@@ -2568,8 +2568,10 @@ The name of the Docker image that the job runs in. Similar to [`image`](#image)
**Example of `image:name`**: **Example of `image:name`**:
```yaml ```yaml
image: test-job:
name: "registry.example.com/my/image:latest" image:
name: "registry.example.com/my/image:latest"
script: echo "Hello world"
``` ```
**Related topics**: **Related topics**:
...@@ -2594,9 +2596,11 @@ where each shell token is a separate string in the array. ...@@ -2594,9 +2596,11 @@ where each shell token is a separate string in the array.
**Example of `image:entrypoint`**: **Example of `image:entrypoint`**:
```yaml ```yaml
image: test-job:
name: super/sql:experimental image:
entrypoint: [""] name: super/sql:experimental
entrypoint: [""]
script: echo "Hello world"
``` ```
**Related topics**: **Related topics**:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册