Commit 4d4c67d0 authored by Ian Ernst's avatar Ian Ernst
Browse files

Fixed Container Scanning Lab

parent bcc4aef4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -205,6 +205,14 @@ In this lab, you will learn how to scan for vulnerabilities in your containers.

    > This can be added anywhere in the list of templates.

1. You will also need to tell the Container Scanning tool about which image to scan. Add the following code beneath the `secret_detection` job:

```yaml
container_scanning:
  variables:
    CS_IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
```

1. Commit the changes with an appropriate commit message.

1. Navigate to **Build > Pipelines** to watch the progress of the new pipeline.