Follow-up from "Simplify requirements for container-scanning"
The following discussion from !63584 (merged) should be addressed:
-
@laurie_howitt started a discussion: @thiagocsf can we include an example snippet of the .gitlab-ci.yml file with these variables set as they will most likely be et in some 'script' keyword within the .gitlab-ci.yml file?
Also, for DOCKER_PASSWORD, can you indicate that if using AWS ECR, the value for this variable needs to account for AWS's short lived passwords and thus use the temporary password generation
export DOCKER_PASSWORD="$(aws ecr get-login-password --region region)
and can we show an snippet example of setting this in the .gitlab-ci.yml file?