Is there a way to do pre: or similar at the docker: stage? for ECR?

See my answer to the other thread: