Port to EE for: 'Expose Deploy Token info as environment variables to CI/CD jobs'
https://gitlab.com/gitlab-org/gitlab-ce/issues/44447