That would be super helpful - my current method is a bit ergh . . . ropey is probably a good word:)
I have written a Python script that runs after Tutor has re-built the images with our themes and generated Kubernetes deployment files. It replaces just the OpenEDX image:
{{ecr_repo}}.ecr.{{aws_region}}.amazonaws.com/openedx:{{build_number}}
Then we are using kubectl with Kustomize to deploy. We are using the build number and not tutor version (which goes into tags) so we can reference back to the build logs on the CD server to see what was changed and also check the Kubernetes cluster is running the latest build without too much checking.
If I am reading the git commit correctly I could change:
DOCKER_IMAGE_OPENEDX={{ecr_repo}}.ecr.{{aws_region}}.amazonaws.com/openedx:{{build_number}}
Then ditch my python script?
The job template is great for changing theme/MySQL as well - thank you for that update