Skip to content
Snippets Groups Projects
Commit bdd17636 authored by Joost Hemmen's avatar Joost Hemmen :basketball:
Browse files

execute only when commit on main

parent 8ccc8ceb
No related branches found
No related tags found
1 merge request!243Resolve "Document CVEs of images used in docker compose setup"
Pipeline #486855 canceled
......@@ -25,7 +25,7 @@ docker-image-scan:
- "*.cve"
expire_in: 30 days
rules:
- if: '$CI_COMMIT_BRANCH != "main" && $CI_PIPELINE_SOURCE == "push"'
- if: '$CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"'
when: always
tags:
- "dind"
\ No newline at end of file
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