mirror/README.md

28 lines
640 B
Markdown
Raw Permalink Normal View History

2020-12-23 17:52:31 +05:00
# mirror
2020-12-23 18:39:02 +05:00
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`:
2022-06-28 20:16:10 +05:00
```yaml
2020-12-23 18:39:02 +05:00
before_script:
2020-12-23 18:39:56 +05:00
- apk add bash
2020-12-23 18:39:02 +05:00
- 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.