Skip to content

Change default image tag from latest to 2

Lucas Charles requested to merge change-default-image-tag-to-major into master

What does this MR do?

Change default image tag from latest to 2

When a user specifies an empty string for SAST_ANALYZER_IMAGE_TAG or DS_ANALYZER_IMAGE_TAG we end up defaulting to latest, when we should only use latest if explicitly passed. Otherwise we should fallback to our latest major version. Since common module versioning matches major releases, we can be explicit here.

Once this is merged we will need to bump the common version for sast and dependency_scanning and re-release major versions

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/10694

Does this MR meet the acceptance criteria?

Merge request reports