It's possible to use the Docker Hardened Image Registry with the custom registry configuration but this is only for final image pull. Please support auth for dhi.io during the build phase so we can use FROM on the free dhi.io templates that still require auth.