Fix Container Scanning on branches
What does this MR do?
Since !430 (merged) container scanning has stopped working on feature branches. This MR fixes that by setting the DOCKER_IMAGE
to the new format when on the feature branch.
container_scanning_new
is overriden and not container_scanning
because DAST is using CS_MAJOR_VERSION: 4
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Job definition example -
Vendored CI Templates (also in CE)
-
-
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Craig Smith