Replace hardcoded registry address with environment variable
So that the entire pipeline can be run in other environments, such as a local GitLab instance.
These changes were necessary to do QA for gitlab#30035 (closed).
Edited by Alishan Ladhani