Fix - Improve job_image_scan $IMAGE_TAG replacement
Context
Nowadays, the Python script executed by job_image_scan
only replace image/tag:${IMAGE_TAG}
variable. It should be improved.
Objective
-
Retrieve the variable behind tag:$VAR
, search for this variable in thejob.yaml
file and replace by the value retrieving a docker image