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

Update file cve-scan.gitlab-ci.yml

parent 7b2c5103
No related branches found
No related tags found
1 merge request!243Resolve "Document CVEs of images used in docker compose setup"
Pipeline #486869 canceled
......@@ -25,8 +25,8 @@ docker-image-scan:
- "*.cve"
expire_in: 30 days
rules:
# Run only when a merge request is merged into the `main` branch
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" && $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE == "merged"'
# Run only on a push to the main branch
- if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "push"'
when: always
# Prevent the job from running in all other cases
- when: never
......
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