GitHub action v.4.X.X - Allow Configuration of Base URL for Sonar Scanner CLI Binaries

Hi @MarekU,
Thank you for reporting this issue to our community.

The new major version of the GitHub Action for SonarQube (v4.0.0) removes Docker, moving to a composite action. You can read here about the reasons which led us to make this change.

Are you planning to provide some option to configure a base_url or similar setting? This would allow us to specify a remote repository for downloading the scanner binaries, accommodating environments with restricted internet access.

We just tested the solution you suggest, and we think it’s a good way to fix the issue.
We are currently testing more thoroughly the solution in a variety of scenarios. Once done with the test, we are going to release a new minor version of the GitHub action with an additional parameter, for you to point to a custom repository of binaries.

While we work on it, we suggest you stay on v3, which is still fully functional. We will ping you here once we release v4.1.0, and we would be happy if you could test it and come back to us with any issues you may encounter.

Hope it helps,
Antonio

2 Likes