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

Only scan image when changes occurred

parent 569609e9
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