Update build to inject version file as part of Docker build and add variable to Github workflow Issue #539