Remove deprecated Container Scanning variables with Docker references
All Container Scanning variables that are prefixed by
DOCKER_
in variable name are deprecated. This includes theDOCKER_IMAGE
,DOCKER_PASSWORD
,DOCKER_USER
, andDOCKERFILE_PATH
variables. Support for these variables will be removed in the GitLab 16.0 release. Use the new variable namesCS_IMAGE
,CS_REGISTRY_PASSWORD
,CS_REGISTRY_USER
, andCS_DOCKERFILE_PATH
in place of the deprecated names.
As the DOCKER_{IMAGE,USER,...}
variables were deprecated (#357264 (closed)), we now need to remove them.
See:
Implementation plan
-
backend Remove support for DOCKER_{IMAGE,USER,...}
variables incontainer-scanning
analyzer -
documentation Remove information about supported DOCKER_{IMAGE,USER,...}
variables
Verification steps
-
Create a new pipeline which references the registry.gitlab.com/security-products/container-scanning:6
image and confirm that theCS_IMAGE
var works, while theDOCKER_IMAGE
var no longer works.See Verification steps for more details.
Edited by Adam Cohen