30 lines
702 B
Markdown
30 lines
702 B
Markdown
# 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.
|
|
|
|
If it helps you much - please, [donate](https://paypal.me/pztrn)
|
|
|
|
## 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.
|