Skip to content
Snippets Groups Projects
Commit 5b125c7d authored by Clement Bois's avatar Clement Bois
Browse files

Merge branch 'fix/trivy-artifact-expire' into 'master'

fix: set trivy artifact expiration

Closes #73

See merge request to-be-continuous/maven!99
parents a935bbe8 fe96b4ae
No related branches found
No related tags found
No related merge requests found
...@@ -184,6 +184,8 @@ mvn-trivy: ...@@ -184,6 +184,8 @@ mvn-trivy:
# console output (fail) # console output (fail)
trivy ${trivy_opts} --format table --exit-code 1 $MAVEN_JIB_SNAPSHOT_IMAGE trivy ${trivy_opts} --format table --exit-code 1 $MAVEN_JIB_SNAPSHOT_IMAGE
artifacts: artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
expire_in: 1 day
when: always when: always
paths: paths:
- "reports/jib-trivy-*" - "reports/jib-trivy-*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment