Skip to content

GitLab CI manager doesn't support usage of environment variables in includes #27964

Answered by candrews
peschmae asked this question in Request Help
Discussion options

You must be logged in to vote

I think it would great for the GitLab CI manager to support registry alias so I've created a PR adding that support: #28607

With that improvement, configuration like the following in Renovate's config.js (following the documentation at https://docs.renovatebot.com/configuration-options/#registryaliases), addresses this need:

{
  "registryAliases": {
    "$CI_SERVER_FQDN": process.env.CI_SERVER_FQDN,
    "$CI_SERVER_HOST": process.env.CI_SERVER_HOST
  }
}

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@peschmae
Comment options

@peschmae
Comment options

Comment options

You must be logged in to vote
3 replies
@secustor
Comment options

@viceice
Comment options

@secustor
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by peschmae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants