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

Update file security-scan.gitlab-ci.yml

parent 3f8ca00d
No related branches found
No related tags found
1 merge request!243Resolve "Document CVEs of images used in docker compose setup"
Pipeline #486431 failed
......@@ -2,12 +2,12 @@
scan-docker-images:
image: "docker:${DOCKER_IMAGE_TAG}"
stage: "scan"
variables:
TRIVY_VERSION: "0.58.2" # Current Trivy version
#variables:
# TRIVY_VERSION: "0.58.2" # Current Trivy version
before_script:
# Install Trivy in the pipeline environment
- apk add --no-cache curl
- curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v$TRIVY_VERSION
- curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.58.2
script:
- "docker compose pull -q"
......
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