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
908fcaa9
Commit
908fcaa9
authored
May 22, 2020
by
Adam Cohen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move DinD to job level in CS docs
parent
f93290b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
doc/user/application_security/container_scanning/index.md
doc/user/application_security/container_scanning/index.md
+4
-6
No files found.
doc/user/application_security/container_scanning/index.md
View file @
908fcaa9
...
...
@@ -117,9 +117,6 @@ push it to the Container Registry, and run Container Scanning:
variables
:
DOCKER_DRIVER
:
overlay2
services
:
-
docker:19.03.8-dind
stages
:
-
build
-
test
...
...
@@ -127,6 +124,8 @@ stages:
build
:
image
:
docker:stable
stage
:
build
services
:
-
docker:19.03.8-dind
variables
:
IMAGE
:
$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
script
:
...
...
@@ -286,14 +285,13 @@ this with a pipeline means you won't have to do it manually each time. You can u
```
yaml
image
:
docker:stable
services
:
-
docker:19.03.8-dind
stages
:
-
build
build_latest_vulnerabilities
:
stage
:
build
services
:
-
docker:19.03.8-dind
script
:
-
docker pull arminc/clair-db:latest
-
docker tag arminc/clair-db:latest $CI_REGISTRY/namespace/clair-vulnerabilities-db
...
...
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