Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ff190b51
Commit
ff190b51
authored
Feb 18, 2021
by
Marcel Amirault
Committed by
Suzanne Selhorn
Feb 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clarification about docker
parent
48380e4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
doc/ci/quick_start/index.md
doc/ci/quick_start/index.md
+10
-3
No files found.
doc/ci/quick_start/index.md
View file @
ff190b51
...
...
@@ -117,15 +117,22 @@ The pipeline starts when the commit is committed.
#### `.gitlab-ci.yml` tips
-
If you want the runner to use a Docker image to run the jobs, edit the
`.gitlab-ci.yml`
file
to include your image name:
-
If you want the runner to
[
use a Docker container to run the jobs
](
../docker/using_docker_images.md
)
,
edit the
`.gitlab-ci.yml`
file
to include an image name:
```
yaml
default
:
image
:
ruby:2.7.2
```
This command tells the runner to use a Ruby image from Docker Hub.
This command tells the runner to use a Ruby image from Docker Hub
and to run the jobs in a container that's generated from the image.
This process is different than
[
building an application as a Docker container
](
../docker/using_docker_build.md
)
.
Your application does not need to be built as a Docker container to
run CI/CD jobs in Docker containers.
-
To validate your
`.gitlab-ci.yml`
file, use the
[
CI Lint tool
](
../lint.md
)
, which is available in every project.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment