Skip to content
Snippets Groups Projects
Verified Commit d2f36745 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[CI] Forgot dash before changes key

parent 3fdf34da
No related branches found
No related tags found
No related merge requests found
Pipeline #54479 waiting for manual action
......@@ -113,7 +113,6 @@ clair:
# Run docker-bench-security and upload the results
docker-bench-security:
stage: security-tests
<<: *pull-modified-image
script:
# Change the Docker Compose to use the "testing" image, not yet pushed on production registry
- sed -i -e "s|$MODIFIED_IMAGE_FULL|$MODIFIED_IMAGE_FULL_TEST|g" $MODIFIED_IMAGE/docker-compose.yml
......@@ -127,14 +126,14 @@ docker-bench-security:
- docker-compose up -d
- git clone https://github.com/docker/docker-bench-security.git
- cd docker-bench-security
- sh docker-bench-security.sh -c container_images,container_runtime,docker_security_operations,community_checks -l ../../report.txt
- sh docker-bench-security.sh -c container_images,container_runtime,docker_security_operations,community_checks -l ../../report.
after_script:
- docker logout $REGISTRY
artifacts:
paths:
- report.txt
after_script:
- docker logout $REGISTRY
rules:
changes:
- changes:
- "**/Dockerfile"
- "**/docker-compose.yml"
when: always
......
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