[Buildroot] [PATCH] gitlab-ci: use the Docker image from gitlab registry

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 24 14:13:02 UTC 2021


On Wed, 20 Oct 2021 22:38:16 +0200
Romain Naour <romain.naour at gmail.com> wrote:

> From [1]:
> "In November 2020, Docker introduced rate limits on pull requests from
> Docker Hub [2]. If your GitLab CI/CD configuration uses an image from
> Docker Hub, each time a job runs, it may count as a pull request."
> 
> Since then, some jobs in our gitlab-ci fail when this rate limits is
> reached [3].
> 
> To avoid this rate limit, move our Docker image from dockerhub to the
> registry provided by gitlab. Keeping the image from dockerhub would be
> possible by using dependency proxy [4] but the gitlab registry is good
> enough.
> 
> Tested on gitlab:
> https://gitlab.com/kubu93/buildroot/-/jobs/1694863584
> 
> [1] https://docs.gitlab.com/ee/user/packages/container_registry/index.html
> [2] https://docs.docker.com/docker-hub/download-rate-limit/
> [3] https://gitlab.com/buildroot.org/buildroot/-/jobs/1687590417
> [4] https://docs.gitlab.com/ee/user/packages/dependency_proxy
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  .gitlab-ci.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list