Skip to content

Resolve "Add ability to scan containers in default and non-default branches"

  • The build job template in the Build.gitlab-ci.yml builds the image and tags it as 'latest' if built on the default branch and tags the image with a 'branch name' if built on a non-default branch. The container scanning job should be able to pick the image based on the branch the job runs in.This ability can be added by customising the container_scanning job in the securityOverrides.gitlab-ci.yml
Edited by Janice Gonsalves

Merge request reports