Stanislav N. aka pztrn
255496af87
Some checks reported errors
continuous-integration/drone/push Build was killed
28 lines
640 B
Markdown
28 lines
640 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.
|
|
|
|
## How to use
|
|
|
|
This script assumes that you are already logged in into Gitlab Registry.
|
|
|
|
### In CI
|
|
|
|
Ensure to add global `before_script`:
|
|
|
|
```yaml
|
|
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.
|