I use private runners for GitHub Actions. I’m trying to use the sonarqube-scan-action
in my workflows, but I’m running into Docker Hub rate limit issues.
This action is a Docker action, where GitHub Actions has to build the provided Dockerfile
first. It does this build as a prerequisite step in the workflow, even before my step that logs into Docker Hub. This means the pull from Docker Hub is unauthenticated.
Here’s a GitHub discussion on this exact issue, with no real solution yet.
Does this action need to be a Docker action? Or, alternatively, can you host the referenced image on another registry, like ghcr.io?