Skip to content
Snippets Groups Projects
Commit 3d147070 authored by Andres Maldonado's avatar Andres Maldonado
Browse files

[.gitlab-ci.yml] [test] Run Clair only for changes in Dockerfile...

...or clair-whitelist.yml
parent 91c7c016
No related branches found
No related tags found
No related merge requests found
......@@ -118,16 +118,16 @@ clair:
rules:
- changes:
- "pica-*/Dockerfile"
- "pica-*/docker-compose.yml"
# - "pica-*/docker-compose.yml"
- "pica-*/clair-whitelist.yml"
- "meta-*/Dockerfile"
- "meta-*/docker-compose.yml"
# - "meta-*/docker-compose.yml"
- "meta-*/clair-whitelist.yml"
when: on_success
- changes:
- "pica-*/**"
- "meta-*/**"
when: manual
# - changes:
# - "pica-*/**"
# - "meta-*/**"
# when: manual
- when: never
# Run docker-bench-security and upload the results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment