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

Update file integration.gitlab-ci.yml

parent 31b2cf74
No related branches found
No related tags found
1 merge request!243Resolve "Document CVEs of images used in docker compose setup"
Pipeline #486486 canceled
......@@ -86,15 +86,17 @@ database-test:
docker-image-scan:
image: "docker:${DOCKER_IMAGE_TAG}"
stage: "integration"
stage: "scan"
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 build"
- "docker compose pull -q"
- "docker images --format '{{.Repository}}:{{.Tag}}'"
- "docker compose pull -q flyway mqtt-cat"
- |
for image in $(docker images --format '{{.Repository}}:{{.Tag}}'); do
echo $image;
done
tags:
- "dind"
\ No newline at end of file
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