-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for specifying container registry #95
add support for specifying container registry #95
Conversation
Dockerfile
Outdated
@@ -1,4 +1,5 @@ | |||
FROM sonarsource/sonar-scanner-cli:11.1 | |||
ARG CONTAINER_REGISTRY | |||
FROM ${CONTAINER_REGISTRY}/sonarsource/sonar-scanner-cli:11.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe letting the leading /
in the CONTAINER_REGISTRY
arg and adding a default value as ""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @marciorgb, thanks for reaching out. I've been running some tests.. the above won't work.
The problem is that using: docker
changes the flow of github actions in a way that images are pulled during the setup step. There's no way to login before the setup step. This will always result in throttling by Dockerhub for users at scale.
The way to address this is by using: composite
and by building the container at runtime. Am I missing something? See my update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Thanks for your contribution. We are aware of the rate limit issue and are willing to replace this action with a composite action without relying on Docker. This is likely to come before the end of the year. |
Hi @philip-mannes-cardano, You can read about these new releases
|
Closing the PR as we won't merge this contribution, as we migrated to composite action. Feel free to continue the conversation here. |
Please help, we're facing rate throttling by Dockerhub due to this action. Please allow us to specify the registry.