Skip to content

Commit

Permalink
bugfix: fix special chars in before_script
Browse files Browse the repository at this point in the history
  • Loading branch information
mastacheata authored Nov 4, 2024
1 parent d86ed62 commit d4c7b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security-checks.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
before_script:
- if [ ! -e ${TRIVY_CACHE_DIR} ]; then mkdir -p ${TRIVY_CACHE_DIR}; fi
# Create trivyignore.yaml if it doesn't exist yet
- if [ ! -e ${TRIVY_IGNOREFILE_DIR} ]; then echo "ambient_trivyignore_placeholder: None" > ${TRIVY_IGNOREFILE_DIR}; fi
- |
if [ ! -e ${TRIVY_IGNOREFILE_DIR} ]; then echo "ambient_trivyignore_placeholder: None" > ${TRIVY_IGNOREFILE_DIR}; fi
allow_failure: true
script:
# Image report (Operating System Vulnerabilities)
Expand Down

0 comments on commit d4c7b47

Please sign in to comment.