Skip to content

Commit

Permalink
bugfix: quote full comand
Browse files Browse the repository at this point in the history
  • Loading branch information
mastacheata authored Nov 4, 2024
1 parent f133b69 commit 81f508b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions security-checks.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
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
3 changes: 1 addition & 2 deletions security-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ container_scanning:
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 81f508b

Please sign in to comment.