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

Update file integration.gitlab-ci.yml

parent 690b6274
No related branches found
No related tags found
1 merge request!243Resolve "Document CVEs of images used in docker compose setup"
Pipeline #486505 canceled
......@@ -87,13 +87,16 @@ database-test:
docker-image-scan:
image: "docker:${DOCKER_IMAGE_TAG}"
stage: "scan"
variables:
TRIVY_DISABLE_VEX_NOTICE: "true"
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 v0.58.2"
- "cp .env.example .env"
script:
- "docker compose pull -q flyway mqtt-cat"
- "docker compose pull -q"
- "docker compose build -q"
- |
for image in $(docker images --format '{{.Repository}}:{{.Tag}}'); do
echo "Scanning $image";
......
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