Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/al2klimov/dockerhub-chainreactor
https://github.com/al2klimov/dockerhub-chainreactor
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/al2klimov/dockerhub-chainreactor
- Owner: Al2Klimov
- License: mpl-2.0
- Created: 2020-02-02T13:45:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T04:21:00.000Z (almost 2 years ago)
- Last Synced: 2023-08-06T23:11:21.628Z (over 1 year ago)
- Language: Go
- Size: 42 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chain-reactor for [Docker Hub]
Monitors base images and triggers builds of derivative ones:
```bash
docker run --rm -d -v dockerhub-chainreactor-data:/data \
-v /var/run/docker.sock:/var/run/docker.sock grandmaster/dockerhub-chainreactor
```## Motivation
https://github.com/docker/hub-feedback/issues/1717
## Setup
Create `dockerhub-chainreactor-data/config.yml`:
```yaml
#log:
# How verbosely to log (trace / debug / info / warn / error)
#level: info
build:
# When to build and deploy, crontab format
every: '0 0 * * *'
hub:
# URL to POST to ...
# (Your repo - Builds - Configure Automated Builds - Build Triggers)
- post: https://hub.docker.com/api/build/v1/source/XXXX/trigger/YYYY/call/
base:
# ... on changes of these images:
- debian:testing-slim
```The daemon reloads its config automatically.
[Docker Hub]: https://hub.docker.com