Skip to content
Snippets Groups Projects
Commit 21e4b309 authored by Jared Kosanovic's avatar Jared Kosanovic
Browse files

Merge branch 'only-scan-when-changes' into 'master'

Only scan image when changes occurred

See merge request !35
parents bfd8171c de475a3b
No related branches found
No related tags found
1 merge request!35Only scan image when changes occurred
......@@ -44,3 +44,8 @@ image_scan:
DOCKER_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
when: on_success
allow_failure: false
only:
changes:
- Dockerfile
- .gitlab-ci.yml
- run-agent.sh
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