refactor gitlab_ci.yml

Variable encapsulation was done and we can now simplify the file.