Auto-trigger docker build for kubernetes helm when new release is announced
https://github.com/alpine-docker/helm
https://travis-ci.org/alpine-docker/helm
https://hub.docker.com/r/alpine/helm/tags/
# must mount the local folder to /apps in container.
docker run -ti --rm -v $(pwd):/apps -v ~/.kube:/root/.kube alpine/helm:2.9.1
# run container as command
alias helm="docker run -ti --rm -v $(pwd):/apps -v ~/.kube:/root/.kube alpine/helm:2.9.1"
helm --help
Mostly it is used during CI/CD (continuous integration and continuous delivery) or as part of an automated build/deployment
- Enable Travis CI cronjob on this repo to run build daily on master branch
- Check if there are new tags/releases announced via Github REST API
- Match the exist docker image tags via Hub.docker.io REST API
- If not matched, build the image with latest version as tag and push to hub.docker.com