Containers mirror from Docker Hub.
Go to file
Stanislav N. aka pztrn 481b2464a4
Some checks reported errors
continuous-integration/drone/push Build was killed
Fix login function to use proper env vars.
2022-06-28 20:21:13 +05:00
images Rollback changes and remove curl mirroring. 2022-06-27 02:20:30 +05:00
.drone.yml Complete script rework. 2022-06-28 20:15:13 +05:00
.gitlab-ci.yml Fix docker image. 2021-09-27 19:21:18 +05:00
mirror.sh Fix login function to use proper env vars. 2022-06-28 20:21:13 +05:00
README.md Make linters happy. 2022-06-28 20:16:10 +05:00

mirror

Docker images mirroring project.

This thing appears after constant inability of Gitlab developers to mitigate Docker Hub ratelimiting shit.

Feel free to use and re-use these images and this mirrorer.

How to use

This script assumes that you are already logged in into Gitlab Registry.

In CI

Ensure to add global before_script:

before_script:
  - apk add bash
  - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY

Adding new image

If you decided to use my mirrors and want to mirror some image - please make an MR with image name be exactly same as in other files in images directory.