Supported postgresql versions

Is there a way to do this postgresql-client update as automated part of a rebuild by modifying the container yaml?