daisukekobayashi / darknet-docker

Dockerfile for Darknet Yolo v4, v3 and v2 (https://github.com/AlexeyAB/darknet)
https://cloud.docker.com/repository/docker/daisukekobayashi/darknet
MIT License
91 stars 41 forks source link

How it works? #9

Open dreambit opened 3 years ago

dreambit commented 3 years ago

I wonder how your build is triggered on push in the external repo?

daisukekobayashi commented 3 years ago

I'm using IFTTT to build docker images automatically. Using the applet, I'm subscribing atom feed on https://github.com/AlexeyAB/darknet/commits/master.atom and make a web request to dockerhub.

gmontamat commented 3 years ago

Hey @dreambit prior to July 2021, you could simply link your github repo to your dockerhub account and automate builds whenever you push to a specific branch. Dockerhub has just disabled such feature for free accounts (mainly due to abuse of the free computation time) but you can use GitHub Actions instead to build and push images to any container registry including dockerhub. Here's my example on a repo very similar to this one: https://github.com/gmontamat/python-darknet-docker/blob/main/.github/workflows/build-push-tag.yaml