Skip to content

Decouple default_branch_image from GitLab

Why is this change being made?

Decouple default_branch_image from GitLab variables which might not be present when running without integration.

Therefore default_image_branch won't be present when the required variables are not present.

Related issue: https://gitlab.com/gitlab-org/security-products/analyzers/container-scanning/-/issues/4

Link to default_image_branch as part of the schema: https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/blob/f0032f4a5f094d3aed93499dd07cc9e198375bfe/src/container-scanning-report-format.json#L49

Merge request reports