>I'm not sure what combination of plugins would be best to do this Josh, you might have missed, yet there's an option to add DockerHub hook files to the repository, and DockerHub will execute them at build. Then no replacements would be required.
What do you think? Vladimir
