Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Verified Commit 1acb0012 authored by Benoît's avatar Benoît
Browse files

Fix

parent 23d4ffbf
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,6 @@ include:
- |
trivy image --format template --template @/usr/local/share/trivy/templates/trivy-markdown.tpl --ignore-unfixed --severity HIGH,CRITICAL ${CS_IMAGE} > output.json
echo "Push a MR note with trivy result:"
curl --request POST --header "PRIVATE-TOKEN: $GITLAB_TOKEN" --header "Content-Type: application/json" 'https://lab.frogg.it/api/v4/projects/${CI_MERGE_REQUEST_PROJECT_ID}/merge_requests/${CI_MERGE_REQUEST_IID}/notes' --data @output.json
curl --request POST --header "PRIVATE-TOKEN: $GITLAB_TOKEN" --header "Content-Type: application/json" 'https://lab.frogg.it/api/v4/projects/${CI_MERGE_REQUEST_PROJECT_ID}/merge_requests/${CI_MERGE_REQUEST_IID}/notes' --data-raw @output.json
rules:
- if: $GITLAB_TOKEN
\ 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